chore: remove isdesktop check

This commit is contained in:
Simon Ding
2025-04-11 15:29:17 +08:00
parent 4bc0a44c33
commit aefc4a28c2
2 changed files with 2 additions and 6 deletions

View File

@@ -55,10 +55,6 @@ extension FileFormatter on num {
}
}
bool isDesktop() {
return Platform.isLinux || Platform.isWindows || Platform.isMacOS;
}
bool isSmallScreen(BuildContext context) {
final screenWidth = MediaQuery.of(context).size.width;
return screenWidth < Breakpoints.small.endWidth!.toDouble();