Monitorized areas to production
This commit is contained in:
parent
8bec702779
commit
de17ebe2b4
3 changed files with 16 additions and 17 deletions
|
|
@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'dart:async';
|
||||
|
||||
final String appVersion = '1.3';
|
||||
final String appVersion = '1.4';
|
||||
|
||||
final Widget appMediumIcon =
|
||||
Image.asset('images/logo-200.png', width: 60.0, height: 60.0);
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ import 'fireNotificationList.dart';
|
|||
import 'generated/i18n.dart';
|
||||
import 'globals.dart' as globals;
|
||||
import 'models/appState.dart';
|
||||
import 'monitoredAreas.dart';
|
||||
import 'privacyPage.dart';
|
||||
import 'sandbox.dart';
|
||||
import 'supportPage.dart';
|
||||
import 'monitoredAreas.dart';
|
||||
|
||||
@immutable
|
||||
class _ViewModel {
|
||||
|
|
@ -106,21 +106,20 @@ Widget mainDrawer(BuildContext context, String currentRoute) {
|
|||
value: ' ${view.unreadCount.toString()} ')
|
||||
: Text(S.of(context).fireNotificationsTitleShort),
|
||||
onTap: () {
|
||||
Navigator.popAndPushNamed(context, FireNotificationList.routeName);
|
||||
Navigator.popAndPushNamed(
|
||||
context, FireNotificationList.routeName);
|
||||
},
|
||||
),
|
||||
new ListTile(
|
||||
leading: const Icon(Icons.map),
|
||||
selected: currentRoute == MonitoredAreasPage.routeName,
|
||||
title: new Text(S.of(context).monitoredAreasTitle),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.popAndPushNamed(
|
||||
context, MonitoredAreasPage.routeName);
|
||||
},
|
||||
),
|
||||
globals.isDevelopment
|
||||
? new ListTile(
|
||||
leading: const Icon(Icons.map),
|
||||
selected: currentRoute == MonitoredAreasPage.routeName,
|
||||
title: new Text(S.of(context).monitoredAreasTitle),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.popAndPushNamed(
|
||||
context, MonitoredAreasPage.routeName);
|
||||
},
|
||||
)
|
||||
: null,
|
||||
new Divider(),
|
||||
new ListTile(
|
||||
leading: const Icon(Icons.favorite),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue