Add temporary logout

This commit is contained in:
Moe Poi ~ 2022-05-12 22:09:44 +07:00
parent 83b57fe577
commit a75356e82d

View file

@ -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: [