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'; ...@@ -3,7 +3,7 @@ import 'package:gecko/globals.dart';
double scaleSize(double size) { double scaleSize(double size) {
final scale = MediaQuery.of(homeContext).size.width / 375; final scale = MediaQuery.of(homeContext).size.width / 375;
return size * scale; return size * scale.clamp(0.8, 1.3);
} }
TextStyle scaledTextStyle({ TextStyle scaledTextStyle({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment