Skip to content

Commit e4e75ff

Browse files
authored
fix/644-Guardian-Angel-light-mode-UI-fixed (#649)
1 parent 8405e3c commit e4e75ff

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/app/modules/addOrUpdateAlarm/views/guardian_angel.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ class GaurdianAngel extends StatelessWidget {
8585
shape: RoundedRectangleBorder(
8686
borderRadius: BorderRadius.circular(18),
8787
),
88-
backgroundColor: kprimaryBackgroundColor,
88+
backgroundColor: themeController
89+
.secondaryBackgroundColor.value,
8990
child: Padding(
9091
padding: const EdgeInsets.all(8.0),
9192
child: Column(
@@ -160,7 +161,7 @@ class GaurdianAngel extends StatelessWidget {
160161
color: (val == 0 && !controller.isCall.value) ||
161162
(val == 1 && controller.isCall.value)
162163
? kprimaryColor
163-
: ksecondaryBackgroundColor,
164+
: kLightPrimaryDisabledTextColor,
164165
borderRadius: BorderRadius.circular(20),
165166
),
166167
child: Padding(
@@ -202,14 +203,14 @@ class GaurdianAngel extends StatelessWidget {
202203
},
203204
child: Container(
204205
decoration: BoxDecoration(
205-
color: ksecondaryBackgroundColor,
206+
color: themeController.primaryColor.value,
206207
borderRadius: BorderRadius.circular(20),
207208
),
208209
child: const Padding(
209210
padding: EdgeInsets.all(8.0),
210211
child: Icon(
211212
Icons.check,
212-
color: kprimaryColor,
213+
color: ksecondaryTextColor,
213214
),
214215
),
215216
),

0 commit comments

Comments
 (0)