mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
avoid showing the Hide folder confirmation twice if initially hiding 2
This commit is contained in:
@ -180,8 +180,8 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList<Direc
|
||||
if (config.wasHideFolderTooltipShown) {
|
||||
hideFolder(path)
|
||||
} else {
|
||||
config.wasHideFolderTooltipShown = true
|
||||
ConfirmationDialog(activity, activity.getString(R.string.hide_folder_description)) {
|
||||
config.wasHideFolderTooltipShown = true
|
||||
hideFolder(path)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user