Skip to content

Commit

Permalink
Merge pull request #285 from PermanentOrg/bug/VSP-1424
Browse files Browse the repository at this point in the history
Fixed bug: "App Displays Mobile Screens on Some Android Tablets".
  • Loading branch information
flaviahandrea-vsp authored Jul 12, 2024
2 parents 0e2867c + c132d28 commit f3613fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

0 comments on commit f3613fe

Please sign in to comment.