mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-24 07:00:47 -04:00
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:
commit
d71ff66c51
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue