refresh directories at toggling Temporarily show hidden immediately

This commit is contained in:
tibbi 2018-04-21 23:18:43 +02:00
parent 570e471dec
commit ab589c52cf

View file

@ -356,6 +356,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
}
private fun toggleTemporarilyShowHidden(show: Boolean) {
mLoadedInitialPhotos = false
config.temporarilyShowHidden = show
getDirectories()
invalidateOptionsMenu()