Web
This commit is contained in:
parent
3b4894114d
commit
ebfa67a817
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class MainScreen extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return StoreBuilder(
|
||||
onInit: (Store<AppState> store) => store.dispatch(LoadClients()),
|
||||
//onInit: (Store<AppState> store) => store.dispatch(LoadClients()),
|
||||
builder: (BuildContext context, Store<AppState> store) {
|
||||
final uiState = store.state.uiState;
|
||||
final prefState = store.state.prefState;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class QuoteEditScreen extends StatelessWidget {
|
|||
static const String route = '/quote/edit';
|
||||
|
||||
static final GlobalKey<FormState> _formKey =
|
||||
GlobalKey<FormState>(debugLabel: '_quotesEdit');
|
||||
GlobalKey<FormState>(debugLabel: '_quoteEdit');
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
</head>
|
||||
<body style="background-color:#888888;">
|
||||
|
||||
<!--
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
|
|
@ -13,6 +14,8 @@
|
|||
});
|
||||
}
|
||||
</script>
|
||||
-->
|
||||
|
||||
<script src="main.dart.js" type="application/javascript"></script>
|
||||
|
||||
<center style="font-family:Tahoma,Geneva,sans-serif;font-size:28px;color:white;padding-top:100px">
|
||||
|
|
|
|||
Loading…
Reference in New Issue