mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update window_utils.dart
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
import '../consts.dart';
|
||||||
|
|
||||||
bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
|
bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
|
||||||
switch (options) {
|
switch (options) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -14,5 +16,5 @@ bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool showButtonLabelsInViewCodePane(double maxWidth) {
|
bool showButtonLabelsInViewCodePane(double maxWidth) {
|
||||||
return (maxWidth < 450) ? false : true;
|
return (maxWidth < 450 || kIsMobile) ? false : true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user