mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can force to use mobile mode
This commit is contained in:
@ -202,6 +202,7 @@ bool darkTheme() => preferences().getBool(PreferencesKeyList.ENABLE_DARK_THEME);
|
||||
|
||||
/// Check out whether we use tablet mode or not
|
||||
bool isTablet(BuildContext context) =>
|
||||
!preferences().getBool(PreferencesKeyList.FORCE_MOBILE_MODE) &&
|
||||
MediaQuery.of(context).size.width >= 1024;
|
||||
|
||||
/// Show about Comunic dialog
|
||||
|
Reference in New Issue
Block a user