Skip to content
Snippets Groups Projects
Commit fddb6961 authored by poka's avatar poka
Browse files

adapt UI for large screens

parent d8f511bc
No related branches found
No related tags found
No related merge requests found
Pipeline #39351 waiting for manual action
......@@ -3,7 +3,7 @@ import 'package:gecko/globals.dart';
double scaleSize(double size) {
final scale = MediaQuery.of(homeContext).size.width / 375;
return size * scale;
return size * scale.clamp(0.8, 1.3);
}
TextStyle scaledTextStyle({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment