Add temporary logout
This commit is contained in:
parent
83b57fe577
commit
a75356e82d
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:nekoya_flutter/data/auth.dart';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:nekoya_flutter/data/auth.dart';
|
||||
import 'package:nekoya_flutter/screens/login.dart';
|
||||
import 'package:nekoya_flutter/screens/products.dart';
|
||||
import 'package:nekoya_flutter/screens/payment.dart';
|
||||
|
@ -252,6 +252,9 @@ class Navigation extends StatelessWidget {
|
|||
onTap: () {
|
||||
onItemPressed(itemIcons.length == 4 ? 2 : 1);
|
||||
},
|
||||
onDoubleTap: () {
|
||||
removeSession();
|
||||
},
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
boxShadow: [
|
||||
|
|
Loading…
Reference in a new issue