Skip to content

Commit 82fdd02

Browse files
StypoxAudricV
andauthored
Update app/src/main/java/org/schabi/newpipe/util/DeviceUtils.java
Co-authored-by: TiA4f8R <[email protected]>
1 parent 8ce2b67 commit 82fdd02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/org/schabi/newpipe/util/DeviceUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ public static boolean isTv(final Context context) {
5858

5959
public static boolean isTablet(@NonNull final Context context) {
6060
final String tabletModeKey = context.getString(R.string.tablet_mode_key);
61+
6162
final String tabletModeSetting = PreferenceManager.getDefaultSharedPreferences(context)
62-
.getString(tabletModeKey, "");
63+
.getString(tabletModeKey, "");
6364

6465
if (tabletModeSetting.equals(context.getString(R.string.tablet_mode_on_key))) {
6566
return true;

0 commit comments

Comments
 (0)