Merge branch 'fix'
This commit is contained in:
@ -153,7 +153,8 @@ class _BottomControlState extends State<BottomControl> {
|
|||||||
size: 20,
|
size: 20,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
fuc: () => widget.controller!.triggerFullScreen(),
|
fuc: () => widget.controller!.triggerFullScreen(
|
||||||
|
status: !(widget.controller!.isFullScreen.value)),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -110,6 +110,9 @@ class WebviewController extends GetxController {
|
|||||||
SmartDialog.showToast('登录成功');
|
SmartDialog.showToast('登录成功');
|
||||||
try {
|
try {
|
||||||
Box userInfoCache = GStrorage.userInfo;
|
Box userInfoCache = GStrorage.userInfo;
|
||||||
|
if (!userInfoCache.isOpen) {
|
||||||
|
userInfoCache = await Hive.openBox('userInfo');
|
||||||
|
}
|
||||||
await userInfoCache.put('userInfoCache', result['data']);
|
await userInfoCache.put('userInfoCache', result['data']);
|
||||||
|
|
||||||
final HomeController homeCtr = Get.find<HomeController>();
|
final HomeController homeCtr = Get.find<HomeController>();
|
||||||
|
Reference in New Issue
Block a user