Update window_utils.dart

This commit is contained in:
Ashita Prasad
2025-02-16 13:49:34 +05:30
parent 1340f2180e
commit ebedbb1172

View File

@ -1,3 +1,5 @@
import '../consts.dart';
bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
switch (options) {
case 0:
@ -14,5 +16,5 @@ bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
}
bool showButtonLabelsInViewCodePane(double maxWidth) {
return (maxWidth < 450) ? false : true;
return (maxWidth < 450 || kIsMobile) ? false : true;
}