do not clear media on destroy

This commit is contained in:
tibbi 2021-12-17 12:27:37 +01:00
parent d51fa1385a
commit 455fa7eb77
1 changed files with 0 additions and 3 deletions

View File

@ -223,7 +223,6 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
}
mTempShowHiddenHandler.removeCallbacksAndMessages(null)
mMedia.clear()
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {
@ -840,8 +839,6 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
media_empty_text_placeholder.text = getString(R.string.no_media_with_filters)
}
media_fastscroller.beVisibleIf(media_empty_text_placeholder.isGone())
val viewType = config.getFolderViewType(if (mShowAll) SHOW_ALL else mPath)
setupAdapter()
}