Skip to content

Commit

Permalink
Fix backup dialog showing again after selecting the folder
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Jan 1, 2025
1 parent 1c31bfd commit b8a6c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/greenart7c3/citrine/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class MainActivity : ComponentActivity() {
val selectedFiles = remember {
mutableListOf<DocumentFile>()
}
var saveToPreferences = false
var saveToPreferences by remember { mutableStateOf(false) }

val database = AppDatabase.getDatabase(context)
val launcher = rememberLauncherForActivityResult(
Expand Down

0 comments on commit b8a6c2e

Please sign in to comment.