Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-29 12:47:14 +08:00
parent e185ed1a85
commit e0ae93847b
104 changed files with 480 additions and 389 deletions

View File

@@ -1,4 +1,3 @@
import 'package:PiliPlus/utils/platform_utils.dart';
import 'package:flutter/material.dart';
/// from Getx
@@ -72,10 +71,4 @@ extension ContextExtensions on BuildContext {
/// True if the current device is Tablet
bool get isTablet => isSmallTablet || isLargeTablet;
String get platformName => PlatformUtils.isDesktop
? 'desktop'
: isTablet
? 'pad'
: 'phone';
}