Skip to content

Commit ac4c8f9

Browse files
committed
Apply spotless
1 parent fed08c3 commit ac4c8f9

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

minesweeper-ui/src/main/java/com/jayasuryat/minesweeperui/grid/Minefield.kt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,14 @@ public fun Minefield(
5252
savableState.value = zoomState
5353

5454
MineGrid(
55-
modifier = modifier.then(Modifier.graphicsLayer {
56-
scaleX = zoomState.scale
57-
scaleY = zoomState.scale
58-
translationX = zoomState.translationX
59-
translationY = zoomState.translationY
60-
}),
55+
modifier = modifier.then(
56+
Modifier.graphicsLayer {
57+
scaleX = zoomState.scale
58+
scaleY = zoomState.scale
59+
translationX = zoomState.translationX
60+
translationY = zoomState.translationY
61+
}
62+
),
6163
gridInfo = gridInfo,
6264
actionListener = actionListener,
6365
)

minesweeper-ui/src/main/java/com/jayasuryat/minesweeperui/grid/ZoomPanState.kt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2022 Jaya Surya Thotapalli
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.jayasuryat.minesweeperui.grid
217

318
import android.os.Parcelable
@@ -10,4 +25,4 @@ internal data class ZoomPanState(
1025
val scale: Float,
1126
val translationX: Float,
1227
val translationY: Float,
13-
) : Parcelable
28+
) : Parcelable

0 commit comments

Comments
 (0)