Merge branch 'isweb-implies-not-desktop' into 'main'

isDesktop false if isWeb true in responsive.dart

See merge request veilid/veilidchat!7
This commit is contained in:
Christien Rioux 2023-10-03 17:59:46 +00:00
commit d71ff66c51

View File

@ -7,7 +7,7 @@ bool get isAndroid => !kIsWeb && Platform.isAndroid;
bool get isiOS => !kIsWeb && Platform.isIOS;
bool get isWeb => kIsWeb;
bool get isDesktop =>
Platform.isWindows || Platform.isLinux || Platform.isMacOS;
!isWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS);
const kMobileWidthCutoff = 479.0;