mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
fix increasing brightness
brightness decreases after leaving "gift card barcode screen"
This commit is contained in:
parent
b6a6bf88ba
commit
dfb52223e0
3 changed files with 76 additions and 7 deletions
|
@ -40,6 +40,7 @@ import 'package:cake_wallet/wallet_type_utils.dart';
|
|||
|
||||
final navigatorKey = GlobalKey<NavigatorState>();
|
||||
final rootKey = GlobalKey<RootState>();
|
||||
final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();
|
||||
|
||||
Future<void> main() async {
|
||||
try {
|
||||
|
@ -282,6 +283,7 @@ class AppState extends State<App> with SingleTickerProviderStateMixin {
|
|||
authenticationStore: authenticationStore,
|
||||
navigatorKey: navigatorKey,
|
||||
child: MaterialApp(
|
||||
navigatorObservers: [routeObserver],
|
||||
navigatorKey: navigatorKey,
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: settingsStore.theme,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue