update pin icon
This commit is contained in:
@@ -1,15 +1,24 @@
|
|||||||
|
import 'package:fcs/data/provider/messaging_fcm.dart';
|
||||||
|
import 'package:fcs/firebase_options.dart';
|
||||||
|
import 'package:firebase_core/firebase_core.dart';
|
||||||
|
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
|
|
||||||
import 'app.dart';
|
import 'app.dart';
|
||||||
import 'config.dart';
|
import 'config.dart';
|
||||||
|
|
||||||
void main() {
|
Future<void> main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
await Firebase.initializeApp(
|
||||||
|
options: DefaultFirebaseOptions.currentPlatform,
|
||||||
|
);
|
||||||
|
FirebaseMessaging.onBackgroundMessage(backgroundMessageHandler);
|
||||||
|
|
||||||
Config(
|
Config(
|
||||||
flavor: Flavor.DEV,
|
flavor: Flavor.DEV,
|
||||||
color: Colors.blue,
|
color: Colors.blue,
|
||||||
apiURL: "http://192.168.1.155:7777",
|
apiURL: "http://192.168.100.247:9090",
|
||||||
// reportURL: "http://petrok.mokkon.com:8091",
|
// reportURL: "http://petrok.mokkon.com:8091",
|
||||||
// reportProjectID: "fcs-dev",
|
// reportProjectID: "fcs-dev",
|
||||||
// bucketName: "gs://fcs-dev1-us",
|
// bucketName: "gs://fcs-dev1-us",
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
},
|
},
|
||||||
iconSize: 25,
|
iconSize: 25,
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
MaterialCommunityIcons.lock_open_variant_outline,
|
Icons.lock_outline,
|
||||||
color: buttonColor,
|
color: buttonColor,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -512,7 +512,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
profileBtn,
|
profileBtn,
|
||||||
]
|
]
|
||||||
: <Widget>[
|
: <Widget>[
|
||||||
// mainModel.isPinLogin ? pinLogoutBtn : pinLoginBtn,
|
mainModel.isPinLogin ? pinLogoutBtn : pinLoginBtn,
|
||||||
fcsToggle,
|
fcsToggle,
|
||||||
profileBtn,
|
profileBtn,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user