mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 09:54:19 +01:00
16 lines
390 B
Dart
16 lines
390 B
Dart
import 'package:nostr_sdk/utils/platform_util.dart';
|
|
|
|
import '../const/base_consts.dart';
|
|
import '../main.dart';
|
|
|
|
class TableModeUtil {
|
|
static bool isTableMode() {
|
|
if (settingProvider.tableMode == OpenStatus.OPEN) {
|
|
return true;
|
|
} else if (settingProvider.tableMode == OpenStatus.CLOSE) {
|
|
return false;
|
|
}
|
|
return PlatformUtil.isTableModeWithoutSetting();
|
|
}
|
|
}
|