diff --git a/assets/svg/light/light-mode.svg b/assets/svg/light/light-mode.svg new file mode 100644 index 000000000..4ff9e2696 --- /dev/null +++ b/assets/svg/light/light-mode.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/pages_desktop_specific/home/settings_menu/nodes_settings.dart b/lib/pages_desktop_specific/home/settings_menu/nodes_settings.dart index 1cc6edaaa..8608e79af 100644 --- a/lib/pages_desktop_specific/home/settings_menu/nodes_settings.dart +++ b/lib/pages_desktop_specific/home/settings_menu/nodes_settings.dart @@ -127,35 +127,41 @@ class _NodesSettings extends ConsumerState { ), child: Row( children: [ - SvgPicture.asset( - Assets.svg.iconFor(coin: coin), - width: 24, - height: 24, - ), - const SizedBox( - width: 12, - ), - Column( - crossAxisAlignment: - CrossAxisAlignment.start, + Row( children: [ - Text( - "${coin.prettyName} nodes", - style: - STextStyles.titleBold12(context), + SvgPicture.asset( + Assets.svg.iconFor(coin: coin), + width: 24, + height: 24, ), - Text( - count > 1 - ? "$count nodes" - : "Default", - style: STextStyles.label(context), + const SizedBox( + width: 12, + ), + Column( + crossAxisAlignment: + CrossAxisAlignment.start, + children: [ + Text( + "${coin.prettyName} nodes", + style: STextStyles.titleBold12( + context), + ), + Text( + count > 1 + ? "$count nodes" + : "Default", + style: STextStyles.label(context), + ), + ], ), ], ), - // SvgPicture.asset( - // Assets.svg.chevronRight, - // alignment: Alignment.centerRight, - // ), + Expanded( + child: SvgPicture.asset( + Assets.svg.chevronRight, + alignment: Alignment.centerRight, + ), + ), ], ), ), diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 407332cf4..2ada80a5d 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -59,7 +59,7 @@ class _SVG { String txExchangeFailed(BuildContext context) => "assets/svg/${Theme.of(context).extension()!.themeType.name}/tx-exchange-icon-failed.svg"; - // String get themeLight => "assets/svg/light/light-theme.svg"; + String get themeLight => "assets/svg/light/light-mode.svg"; String get themeDark => "assets/svg/dark/dark-theme.svg"; String get circleNode => "assets/svg/node-circle.svg"; String get circleSun => "assets/svg/sun-circle.svg"; diff --git a/pubspec.yaml b/pubspec.yaml index 75a0e8d3f..35fbecf3f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -300,6 +300,7 @@ flutter: - assets/svg/sun-circle.svg - assets/svg/node-circle.svg - assets/svg/dark/dark-theme.svg + - assets/svg/light/light-mode.svg # coin icons - assets/svg/coin_icons/Bitcoin.svg - assets/svg/coin_icons/Bitcoincash.svg