mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
reset scalremove scalable recyclerview zoom listener on pause
This commit is contained in:
parent
cb9353c31a
commit
7fd1538009
2 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||
mIsGettingDirs = false
|
||||
mStoredAnimateGifs = config.animateGifs
|
||||
mStoredCropThumbnails = config.cropThumbnails
|
||||
MyScalableRecyclerView.mListener = null
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
|
|
|
@ -85,6 +85,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
|||
media_refresh_layout.isRefreshing = false
|
||||
mStoredAnimateGifs = config.animateGifs
|
||||
mStoredCropThumbnails = config.cropThumbnails
|
||||
MyScalableRecyclerView.mListener = null
|
||||
}
|
||||
|
||||
private fun tryloadGallery() {
|
||||
|
|
Loading…
Reference in a new issue