File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
app/src/main/kotlin/com/aliucord/manager/ui/previews/screens Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ package com.aliucord.manager.ui.previews.screens
2+
3+ import android.content.res.Configuration
4+ import androidx.compose.runtime.Composable
5+ import androidx.compose.ui.tooling.preview.Preview
6+ import com.aliucord.manager.ui.screens.permissions.PermissionsScreenContent
7+ import com.aliucord.manager.ui.theme.ManagerTheme
8+
9+ @Composable
10+ @Preview(uiMode = Configuration .UI_MODE_NIGHT_YES )
11+ @Preview(uiMode = Configuration .UI_MODE_NIGHT_NO )
12+ fun PermissionsScreenPreview () {
13+ ManagerTheme {
14+ PermissionsScreenContent (
15+ storagePermsGranted = true ,
16+ onGrantStoragePerms = {},
17+ installPermsGranted = true ,
18+ onGrantInstallPerms = {},
19+ notificationsPermsGranted = false ,
20+ onGrantNotificationsPerms = {},
21+ batteryPermsGranted = false ,
22+ onGrantBatteryPerms = {},
23+ canContinue = true ,
24+ onContinue = {},
25+ )
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments