@@ -36,22 +36,18 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
3636 appBar: AppBar (
3737 title: BBText (
3838 context.loc.allSeedViewTitle,
39- style: const TextStyle (
40- fontWeight: .bold,
41- fontSize: 20 ,
42- ),
39+ style: const TextStyle (fontWeight: .bold, fontSize: 20 ),
4340 ),
4441 bottom: PreferredSize (
4542 preferredSize: const Size .fromHeight (3 ),
46- child:
47- state.loading
48- ? FadingLinearProgress (
49- height: 3 ,
50- trigger: state.loading,
51- backgroundColor: context.appColors.surface,
52- foregroundColor: context.appColors.primary,
53- )
54- : const SizedBox (height: 3 ),
43+ child: state.loading
44+ ? FadingLinearProgress (
45+ height: 3 ,
46+ trigger: state.loading,
47+ backgroundColor: context.appColors.surface,
48+ foregroundColor: context.appColors.primary,
49+ )
50+ : const SizedBox (height: 3 ),
5551 ),
5652 ),
5753 body: Builder (
@@ -63,22 +59,29 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
6359 child: BBText (
6460 context.loc.allSeedViewLoadingMessage,
6561 style: context.font.bodyMedium,
66- color: context.appColors.onSurface.withValues (alpha: 0.7 ),
62+ color: context.appColors.onSurface.withValues (
63+ alpha: 0.7 ,
64+ ),
6765 textAlign: .center,
6866 ),
6967 ),
7068 );
7169 }
7270 if (state.error != null ) {
7371 return Center (
74- child: BBText (state.error! , style: context.font.bodyLarge),
72+ child: BBText (
73+ state.error! ,
74+ style: context.font.bodyLarge,
75+ color: context.appColors.error,
76+ ),
7577 );
7678 }
7779 if (state.allSeeds.isEmpty) {
7880 return Center (
7981 child: BBText (
8082 context.loc.allSeedViewNoSeedsFound,
8183 style: context.font.bodyLarge,
84+ color: context.appColors.onSurface,
8285 ),
8386 );
8487 }
@@ -162,7 +165,7 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
162165 barrierDismissible: false ,
163166 builder: (BuildContext dialogContext) {
164167 return AlertDialog (
165- backgroundColor: context.appColors.onPrimary ,
168+ backgroundColor: context.appColors.surface ,
166169 title: Text (
167170 context.loc.allSeedViewSecurityWarningTitle,
168171 style: context.font.headlineSmall? .copyWith (
@@ -172,13 +175,20 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
172175 content: SingleChildScrollView (
173176 child: Text (
174177 context.loc.allSeedViewSecurityWarningMessage,
175- style: context.font.bodyMedium,
178+ style: context.font.bodyMedium? .copyWith (
179+ color: context.appColors.onSurface,
180+ ),
176181 ),
177182 ),
178183 actions: [
179184 TextButton (
180185 onPressed: () => Navigator .of (dialogContext).pop (),
181- child: Text (context.loc.cancel, style: context.font.bodyMedium),
186+ child: Text (
187+ context.loc.cancel,
188+ style: context.font.bodyMedium? .copyWith (
189+ color: context.appColors.onSurface,
190+ ),
191+ ),
182192 ),
183193 TextButton (
184194 onPressed: () {
@@ -208,7 +218,7 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
208218 barrierDismissible: false ,
209219 builder: (BuildContext dialogContext) {
210220 return AlertDialog (
211- backgroundColor: context.appColors.onPrimary ,
221+ backgroundColor: context.appColors.surface ,
212222 title: Text (
213223 context.loc.allSeedViewDeleteWarningTitle,
214224 style: context.font.headlineSmall? .copyWith (
@@ -219,13 +229,20 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
219229 content: SingleChildScrollView (
220230 child: Text (
221231 context.loc.allSeedViewDeleteWarningMessage,
222- style: context.font.bodyMedium,
232+ style: context.font.bodyMedium? .copyWith (
233+ color: context.appColors.onSurface,
234+ ),
223235 ),
224236 ),
225237 actions: [
226238 TextButton (
227239 onPressed: () => Navigator .of (dialogContext).pop (),
228- child: Text (context.loc.cancel, style: context.font.bodyMedium),
240+ child: Text (
241+ context.loc.cancel,
242+ style: context.font.bodyMedium? .copyWith (
243+ color: context.appColors.onSurface,
244+ ),
245+ ),
229246 ),
230247 TextButton (
231248 onPressed: () {
@@ -261,9 +278,9 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
261278 Container (
262279 padding: const EdgeInsets .all (16 ),
263280 decoration: BoxDecoration (
264- color: context.appColors.onPrimary ,
281+ color: context.appColors.surface ,
265282 borderRadius: BorderRadius .circular (8 ),
266- border: Border .all (color: context.appColors.primary , width: 2 ),
283+ border: Border .all (color: context.appColors.outline , width: 1 ),
267284 ),
268285 child: Row (
269286 crossAxisAlignment: .start,
@@ -272,7 +289,7 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
272289 child: BBText (
273290 seed.mnemonicWords.join (' ' ),
274291 style: context.font.bodyMedium,
275- color: context.appColors.secondary ,
292+ color: context.appColors.onSurface ,
276293 maxLines: 5 ,
277294 ),
278295 ),
@@ -299,7 +316,9 @@ class AllSeedViewScreen extends StatelessWidget with PrivacyScreen {
299316 children: [
300317 BBText (
301318 context.loc.allSeedViewPassphraseLabel,
302- style: context.font.bodyLarge,
319+ style: context.font.bodyLarge? .copyWith (
320+ color: context.appColors.onSurface,
321+ ),
303322 ),
304323 BBText (
305324 seed.passphrase! ,
0 commit comments