animate the thumbnail appearance only if animations arent disabled in the system
This commit is contained in:
parent
657021b67e
commit
06b6416926
|
@ -1196,7 +1196,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
directories_grid.adapter = this
|
||||
setupScrollDirection()
|
||||
|
||||
if (config.viewTypeFolders == VIEW_TYPE_LIST) {
|
||||
if (config.viewTypeFolders == VIEW_TYPE_LIST && areSystemAnimationsEnabled) {
|
||||
directories_grid.scheduleLayoutAnimation()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -420,7 +420,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
|||
}
|
||||
|
||||
val viewType = config.getFolderViewType(if (mShowAll) SHOW_ALL else mPath)
|
||||
if (viewType == VIEW_TYPE_LIST) {
|
||||
if (viewType == VIEW_TYPE_LIST && areSystemAnimationsEnabled) {
|
||||
media_grid.scheduleLayoutAnimation()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue