Fix load app from cache
This commit is contained in:
parent
b1063f5057
commit
7b05ed2a4a
5 changed files with 19 additions and 13 deletions
|
@ -117,22 +117,15 @@ class _HomePageState extends State<HomePage> {
|
|||
}
|
||||
},
|
||||
),
|
||||
/*
|
||||
|
||||
ListTile(
|
||||
title: Text("RESET APP SESSION"),
|
||||
onTap: () async {
|
||||
setState(() {
|
||||
SessionData.IsOnTheClock = false;
|
||||
SessionData.StartTime = DateTime.fromMillisecondsSinceEpoch(
|
||||
0,
|
||||
);
|
||||
SessionData.Trips = [];
|
||||
SessionData.currentDelivery = null;
|
||||
SessionData.currentTrip = null;
|
||||
SessionData.positions = [];
|
||||
SessionData.ResetAppSession();
|
||||
});
|
||||
},
|
||||
),*/
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue