Merge branch 'dev-ios' of https://git.mnau.xyz/hernik/prasule into dev-ios
This commit is contained in:
commit
e7e016266e
2 changed files with 13 additions and 12 deletions
|
@ -78,23 +78,14 @@ class MyApp extends StatelessWidget {
|
|||
? darkColorScheme
|
||||
: lightColorScheme,
|
||||
),
|
||||
child: CupertinoApp(
|
||||
localizationsDelegates: const [
|
||||
child: const CupertinoApp(
|
||||
localizationsDelegates: [
|
||||
AppLocalizations.delegate,
|
||||
...GlobalMaterialLocalizations.delegates,
|
||||
...GlobalCupertinoLocalizations.delegates,
|
||||
],
|
||||
title: 'Prašule',
|
||||
home: DefaultTextStyle(
|
||||
style: TextStyle(
|
||||
color: ((MediaQuery.of(context).platformBrightness ==
|
||||
Brightness.dark)
|
||||
? darkColorScheme
|
||||
: lightColorScheme)
|
||||
.onPrimary,
|
||||
),
|
||||
child: const HomeView(),
|
||||
),
|
||||
home: HomeView(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -318,6 +318,11 @@ class _HomeViewState extends State<HomeView> {
|
|||
TextSpan(
|
||||
text: AppLocalizations.of(context)
|
||||
.balanceStatusA,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.onBackground,
|
||||
),
|
||||
),
|
||||
TextSpan(
|
||||
style: TextStyle(
|
||||
|
@ -363,6 +368,11 @@ class _HomeViewState extends State<HomeView> {
|
|||
TextSpan(
|
||||
text: AppLocalizations.of(context)
|
||||
.balanceStatusB,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.onBackground,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue