disable temporarily showing hidden folders only on destroy

This commit is contained in:
tibbi 2017-05-28 23:02:40 +02:00
parent 55da328b6f
commit 1b53acd096
2 changed files with 4 additions and 4 deletions

View file

@ -127,8 +127,8 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
mLastMediaHandler.removeCallbacksAndMessages(null) mLastMediaHandler.removeCallbacksAndMessages(null)
} }
override fun onStop() { override fun onDestroy() {
super.onStop() super.onDestroy()
config.temporarilyShowHidden = false config.temporarilyShowHidden = false
} }

View file

@ -92,8 +92,8 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
mLastMediaHandler.removeCallbacksAndMessages(null) mLastMediaHandler.removeCallbacksAndMessages(null)
} }
override fun onStop() { override fun onDestroy() {
super.onStop() super.onDestroy()
config.temporarilyShowHidden = false config.temporarilyShowHidden = false
} }