Skip to content

Commit 83e2f08

Browse files
committed
refactor: move ForgotPinSheet to sheets
1 parent 61eb03f commit 83e2f08

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

app/src/main/java/to/bitkit/ui/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import kotlinx.serialization.Serializable
2626
import to.bitkit.androidServices.LightningNodeService
2727
import to.bitkit.androidServices.LightningNodeService.Companion.CHANNEL_ID_NODE
2828
import to.bitkit.ui.components.AuthCheckView
29-
import to.bitkit.ui.components.ForgotPinSheet
29+
import to.bitkit.ui.sheets.ForgotPinSheet
3030
import to.bitkit.ui.components.InactivityTracker
3131
import to.bitkit.ui.components.IsOnlineTracker
3232
import to.bitkit.ui.components.ToastOverlay

app/src/main/java/to/bitkit/ui/components/ForgotPinSheet.kt renamed to app/src/main/java/to/bitkit/ui/sheets/ForgotPinSheet.kt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package to.bitkit.ui.components
1+
package to.bitkit.ui.sheets
22

33
import androidx.compose.foundation.Image
44
import androidx.compose.foundation.layout.Column
@@ -14,6 +14,12 @@ import androidx.compose.ui.res.stringResource
1414
import androidx.compose.ui.tooling.preview.Preview
1515
import androidx.compose.ui.unit.dp
1616
import to.bitkit.R
17+
import to.bitkit.ui.components.BodyM
18+
import to.bitkit.ui.components.BottomSheet
19+
import to.bitkit.ui.components.BottomSheetPreview
20+
import to.bitkit.ui.components.FillHeight
21+
import to.bitkit.ui.components.PrimaryButton
22+
import to.bitkit.ui.components.VerticalSpacer
1723
import to.bitkit.ui.scaffold.SheetTopBar
1824
import to.bitkit.ui.shared.modifiers.sheetHeight
1925
import to.bitkit.ui.shared.util.gradientBackground
@@ -59,9 +65,7 @@ private fun Content(
5965

6066
FillHeight()
6167
Image(
62-
painter = painterResource(R.drawable.restore),
63-
contentDescription = null,
64-
modifier = Modifier.width(256.dp)
68+
painter = painterResource(R.drawable.restore), contentDescription = null, modifier = Modifier.width(256.dp)
6569
)
6670
FillHeight()
6771

0 commit comments

Comments
 (0)