Skip to content

Commit

Permalink
num size = Platform.isLinux? 900 : mediaDataCache.size.width;
Browse files Browse the repository at this point in the history
    return isTableModeWithoutSetting() &&  size >= 900;
  • Loading branch information
Fmar committed Sep 19, 2023
1 parent e6029cd commit e89a37d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/platform_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class PlatformUtil {
} else if (settingProvider.tableMode == OpenStatus.CLOSE) {
return false;
}
return isTableModeWithoutSetting() && mediaDataCache.size.width >= 900;
num size = Platform.isLinux? 900 : mediaDataCache.size.width;
return isTableModeWithoutSetting() && size >= 900;
}

static bool isIOS() {
Expand Down

0 comments on commit e89a37d

Please sign in to comment.