Skip to content

Commit 4b75dc0

Browse files
committed
fixed spacing
1 parent 7d152cd commit 4b75dc0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/lib/presentation/ui/custom/environment_selector.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'package:app/presentation/resources/resources.dart';
12
import 'package:app/presentation/themes/local_theme.dart';
23
import 'package:domain/env/env_config.dart';
34
import 'package:domain/services/environment_service.dart';
@@ -17,7 +18,7 @@ class EnvironmentSelector extends StatelessWidget {
1718
DropdownMenuItem<String>(
1819
value: value,
1920
child: Padding(
20-
padding: const EdgeInsets.symmetric(horizontal: 8.0),
21+
padding: EdgeInsets.symmetric(horizontal: spacing.xs),
2122
child: Text(label, style: textStyle),
2223
),
2324
);

app/lib/presentation/ui/pages/login/login_page.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:app/main/init.dart';
2+
import 'package:app/presentation/resources/resources.dart';
23
import 'package:app/presentation/themes/app_themes.dart';
34
import 'package:app/presentation/ui/custom/app_theme_switch.dart';
45
import 'package:app/presentation/ui/custom/loading_screen.dart';
@@ -24,12 +25,12 @@ class LoginPage extends StatelessWidget {
2425
appBar: AppBar(),
2526
backgroundColor: context.theme.colorScheme.surface,
2627
body: Padding(
27-
padding: const EdgeInsets.all(16),
28+
padding: EdgeInsets.all(spacing.m),
2829
child: Column(
2930
mainAxisAlignment: MainAxisAlignment.center,
3031
children: [
3132
const AppThemeSwitch(),
32-
const SizedBox(height: 16),
33+
SizedBox(height: spacing.m),
3334
SizedBox(
3435
width: double.maxFinite,
3536
child: ElevatedButton(
@@ -42,7 +43,7 @@ class LoginPage extends StatelessWidget {
4243
},
4344
),
4445
),
45-
const SizedBox(height: 32),
46+
SizedBox(height: spacing.xxxl),
4647
if (kDebugMode) ...[
4748
EnvironmentSelector(),
4849
],

0 commit comments

Comments
 (0)