We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5209cf5 commit 0c5a6a4Copy full SHA for 0c5a6a4
app/src/main/java/to/bitkit/ui/screens/transfer/SpendingConfirmScreen.kt
@@ -87,9 +87,11 @@ fun SpendingConfirmScreen(
87
88
val notificationsGranted by settingsViewModel.notificationsGranted.collectAsStateWithLifecycle()
89
90
- RequestNotificationPermissions(showPermissionDialog = false) { granted ->
91
- settingsViewModel.setNotificationPreference(granted)
92
- }
+ RequestNotificationPermissions(
+ onPermissionChange = { granted ->
+ settingsViewModel.setNotificationPreference(granted)
93
+ },
94
+ showPermissionDialog = false)
95
96
Content(
97
onBackClick = onBackClick,
0 commit comments