diff --git a/lib/constants.dart b/lib/constants.dart index c58f83302..eaadfc031 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -80,7 +80,7 @@ const int kMillisecondsToRefreshData = 1000 * 60 * 15; // 15 minutes const int kMillisecondsToRefreshActivities = 1000 * 60 * 60 * 24; // 1 day const int kMillisecondsToRefreshStaticData = 1000 * 60 * 60 * 24; // 1 day const int kMillisecondsToReenterPassword = 1000 * 60 * 10; // 10 minutes -const int kMillisecondsToDebounceStateSave = 1000 * 3; // 3 seconds +const int kMillisecondsToDebounceStateSave = 1000 * 1; // 3 seconds const int kUpdatedAtBufferSeconds = 600; const String kLanguageEnglish = '1'; diff --git a/lib/ui/app/main_screen.dart b/lib/ui/app/main_screen.dart index 4505d5944..9b32650b5 100644 --- a/lib/ui/app/main_screen.dart +++ b/lib/ui/app/main_screen.dart @@ -20,7 +20,7 @@ class MainScreen extends StatelessWidget { @override Widget build(BuildContext context) { return StoreBuilder( - onInit: (Store store) => store.dispatch(LoadClients()), + //onInit: (Store store) => store.dispatch(LoadClients()), builder: (BuildContext context, Store store) { final uiState = store.state.uiState; final prefState = store.state.prefState; diff --git a/lib/ui/quote/edit/quote_edit_vm.dart b/lib/ui/quote/edit/quote_edit_vm.dart index 3b88a923a..8d209da6b 100644 --- a/lib/ui/quote/edit/quote_edit_vm.dart +++ b/lib/ui/quote/edit/quote_edit_vm.dart @@ -20,7 +20,7 @@ class QuoteEditScreen extends StatelessWidget { static const String route = '/quote/edit'; static final GlobalKey _formKey = - GlobalKey(debugLabel: '_quotesEdit'); + GlobalKey(debugLabel: '_quoteEdit'); @override Widget build(BuildContext context) { diff --git a/web/index.html b/web/index.html index c13c060fb..13b14c2a2 100644 --- a/web/index.html +++ b/web/index.html @@ -6,6 +6,7 @@ + +