mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 06:31:13 -04:00
minor ui cleanups
This commit is contained in:
parent
e2f810f6e5
commit
079efb02b9
7 changed files with 43 additions and 39 deletions
|
@ -14,6 +14,10 @@ const kMobileWidthCutoff = 500.0;
|
|||
bool isMobileWidth(BuildContext context) =>
|
||||
MediaQuery.of(context).size.width < kMobileWidthCutoff;
|
||||
|
||||
bool isMobileSize(BuildContext context) =>
|
||||
MediaQuery.of(context).size.width < kMobileWidthCutoff ||
|
||||
MediaQuery.of(context).size.height < kMobileWidthCutoff;
|
||||
|
||||
bool responsiveVisibility({
|
||||
required BuildContext context,
|
||||
bool phone = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue