diff --git a/app/src/main/java/com/hiddenramblings/tagmo/fragment/BrowserFragment.kt b/app/src/main/java/com/hiddenramblings/tagmo/fragment/BrowserFragment.kt index 9d1660511..44bfb44ac 100644 --- a/app/src/main/java/com/hiddenramblings/tagmo/fragment/BrowserFragment.kt +++ b/app/src/main/java/com/hiddenramblings/tagmo/fragment/BrowserFragment.kt @@ -230,6 +230,7 @@ class BrowserFragment : Fragment(), OnFoomiiboClickListener { } fun onConfigurationChanged() { + if (settings.amiiboView != BrowserSettings.VIEW.IMAGE.value) return browserActivity?.let { activity -> browserContent?.layoutManager = GridLayoutManager(activity, activity.columnCount) foomiiboContent?.layoutManager = GridLayoutManager(activity, activity.columnCount) diff --git a/app/src/main/java/com/hiddenramblings/tagmo/fragment/EliteBankFragment.kt b/app/src/main/java/com/hiddenramblings/tagmo/fragment/EliteBankFragment.kt index 24fdb9be9..29a3bbbac 100644 --- a/app/src/main/java/com/hiddenramblings/tagmo/fragment/EliteBankFragment.kt +++ b/app/src/main/java/com/hiddenramblings/tagmo/fragment/EliteBankFragment.kt @@ -944,6 +944,7 @@ class EliteBankFragment : Fragment(), EliteBankAdapter.OnAmiiboClickListener { } fun onConfigurationChanged() { + if (settings.amiiboView != BrowserSettings.VIEW.IMAGE.value) return browserActivity?.let { activity -> amiiboFilesView?.layoutManager = GridLayoutManager(activity, activity.columnCount) }