diff --git a/app/src/main/java/org/permanent/permanent/ui/PreferencesHelper.kt b/app/src/main/java/org/permanent/permanent/ui/PreferencesHelper.kt index 62309bc5..0a1bff83 100644 --- a/app/src/main/java/org/permanent/permanent/ui/PreferencesHelper.kt +++ b/app/src/main/java/org/permanent/permanent/ui/PreferencesHelper.kt @@ -460,6 +460,6 @@ class PreferencesHelper(private val sharedPreferences: SharedPreferences) { fun isTablet(): Boolean { val windowWidthSizeString = sharedPreferences.getString(WINDOW_WIDTH_SIZE_CLASS, "") - return windowWidthSizeString.equals(WindowWidthSizeClass.EXPANDED.toString()) + return !windowWidthSizeString.equals(WindowWidthSizeClass.COMPACT.toString()) } } \ No newline at end of file