mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Fix function not being referenced anymore
This commit is contained in:
parent
cf6c653ad3
commit
d24dd4cf4b
@ -187,15 +187,15 @@ fun SelectionSheet(
|
||||
|
||||
var showCustomFolderWarning by remember { mutableStateOf(false) }
|
||||
|
||||
if (showCustomFolderWarning) {
|
||||
val selectFolder = rememberFolderSelectorDialog { folder ->
|
||||
if (folder == null) {
|
||||
return@rememberFolderSelectorDialog
|
||||
}
|
||||
|
||||
updateValue(folder.toString())
|
||||
val selectFolder = rememberFolderSelectorDialog { folder ->
|
||||
if (folder == null) {
|
||||
return@rememberFolderSelectorDialog
|
||||
}
|
||||
|
||||
updateValue(folder.toString())
|
||||
}
|
||||
|
||||
if (showCustomFolderWarning) {
|
||||
CustomFolderWarningDialog(
|
||||
onDismiss = {
|
||||
showCustomFolderWarning = false
|
||||
@ -252,7 +252,9 @@ fun SelectionSheet(
|
||||
label = stringResource(R.string.ui_settings_option_saveFolder_action_dcim_label),
|
||||
icon = Icons.Default.PermMedia,
|
||||
onClick = {
|
||||
if (PermissionHelper.hasGranted(
|
||||
if (
|
||||
SUPPORTS_SCOPED_STORAGE ||
|
||||
PermissionHelper.hasGranted(
|
||||
context,
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user