mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
ocean breeze added
This commit is contained in:
parent
2137cffd84
commit
02dadd432c
1 changed files with 6 additions and 2 deletions
|
@ -57,6 +57,7 @@ import 'package:stackwallet/utilities/stack_file_system.dart';
|
||||||
import 'package:stackwallet/utilities/theme/color_theme.dart';
|
import 'package:stackwallet/utilities/theme/color_theme.dart';
|
||||||
import 'package:stackwallet/utilities/theme/dark_colors.dart';
|
import 'package:stackwallet/utilities/theme/dark_colors.dart';
|
||||||
import 'package:stackwallet/utilities/theme/light_colors.dart';
|
import 'package:stackwallet/utilities/theme/light_colors.dart';
|
||||||
|
import 'package:stackwallet/utilities/theme/ocean_breeze_colors.dart';
|
||||||
import 'package:stackwallet/utilities/theme/stack_colors.dart';
|
import 'package:stackwallet/utilities/theme/stack_colors.dart';
|
||||||
import 'package:stackwallet/utilities/util.dart';
|
import 'package:stackwallet/utilities/util.dart';
|
||||||
import 'package:window_size/window_size.dart';
|
import 'package:window_size/window_size.dart';
|
||||||
|
@ -317,8 +318,11 @@ class _MaterialAppWithThemeState extends ConsumerState<MaterialAppWithTheme>
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||||
ref.read(colorThemeProvider.state).state =
|
ref.read(colorThemeProvider.state).state =
|
||||||
StackColors.fromStackColorTheme(
|
StackColors.fromStackColorTheme(themeType == ThemeType.dark
|
||||||
themeType == ThemeType.dark ? DarkColors() : LightColors());
|
? DarkColors()
|
||||||
|
: (themeType == ThemeType.light
|
||||||
|
? LightColors()
|
||||||
|
: OceanBreezeColors()));
|
||||||
|
|
||||||
if (Platform.isAndroid) {
|
if (Platform.isAndroid) {
|
||||||
// fetch open file if it exists
|
// fetch open file if it exists
|
||||||
|
|
Loading…
Reference in a new issue