Skip to content

Commit 1c521b3

Browse files
committed
不同用户不同数据库
1 parent 6a50fe5 commit 1c521b3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/widget/HomeDrawer.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:get_version/get_version.dart';
22
import 'package:flutter/material.dart';
33
import 'package:flutter_redux/flutter_redux.dart';
4+
import 'package:gsy_github_app_flutter/common/ab/SqlManager.dart';
45
import 'package:gsy_github_app_flutter/common/config/Config.dart';
56
import 'package:gsy_github_app_flutter/common/dao/EventDao.dart';
67
import 'package:gsy_github_app_flutter/common/dao/IssueDao.dart';
@@ -162,6 +163,7 @@ class HomeDrawer extends StatelessWidget {
162163
onPress: () {
163164
UserDao.clearAll(store);
164165
EventDao.clearEvent(store);
166+
SqlManager.close();
165167
NavigatorUtils.goLogin(context);
166168
},
167169
),

0 commit comments

Comments
 (0)