mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
add folder un/hiding from thumbnail view
This commit is contained in:
parent
f27afeb674
commit
d03bdfc91a
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,8 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
|||
}
|
||||
|
||||
private fun hideFolder() {
|
||||
addNoMedia(mPath)
|
||||
|
||||
if (!config.showHiddenFolders)
|
||||
finish()
|
||||
else
|
||||
|
@ -154,6 +156,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
|||
}
|
||||
|
||||
private fun unhideFolder() {
|
||||
removeNoMedia(mPath)
|
||||
invalidateOptionsMenu()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue