mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
CAKE-27 | applied light theme to send and send template pages; made status bar is transparent; reworked menu widget and base send widget; applied switch between light and dark themes
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import 'package:cake_wallet/di.dart';
|
||||
import 'package:cake_wallet/store/theme_changer_store.dart';
|
||||
import 'package:cake_wallet/themes.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
import 'package:cake_wallet/routes.dart';
|
||||
@@ -69,7 +72,9 @@ abstract class SettingsViewModelBase with Store {
|
||||
title: S.current.settings_dark_mode,
|
||||
value: () => _settingsStore.isDarkTheme,
|
||||
onValueChange: (bool value) {
|
||||
// FIXME: Implement me
|
||||
_settingsStore.isDarkTheme = value;
|
||||
getIt.get<ThemeChangerStore>().themeChanger.setTheme(
|
||||
value ? Themes.darkTheme : Themes.lightTheme);
|
||||
})
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user