Skip to content

Commit 0dcc6f4

Browse files
committed
refetch items at changing view type, to make sure the proper fields are filled
1 parent 353618e commit 0dcc6f4

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ class MainActivity : SimpleActivity() {
294294

295295
private fun changeViewType() {
296296
ChangeViewTypeDialog(this, fragment.currentPath) {
297-
fragment.setupLayoutManager()
297+
fragment.refreshItems()
298298
}
299299
}
300300

0 commit comments

Comments
 (0)