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() {
|
private fun hideFolder() {
|
||||||
|
addNoMedia(mPath)
|
||||||
|
|
||||||
if (!config.showHiddenFolders)
|
if (!config.showHiddenFolders)
|
||||||
finish()
|
finish()
|
||||||
else
|
else
|
||||||
|
@ -154,6 +156,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun unhideFolder() {
|
private fun unhideFolder() {
|
||||||
|
removeNoMedia(mPath)
|
||||||
invalidateOptionsMenu()
|
invalidateOptionsMenu()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue