Merge branch 'main' into design
This commit is contained in:
@ -194,7 +194,8 @@ class _BangumiInfoState extends State<BangumiInfo> {
|
||||
src: widget.bangumiDetail!.cover!,
|
||||
),
|
||||
PBadge(
|
||||
text: '评分 ${widget.bangumiDetail!.rating!['score']!}',
|
||||
text:
|
||||
'评分 ${widget.bangumiDetail?.rating?['score']! ?? '暂无'}',
|
||||
top: null,
|
||||
right: 6,
|
||||
bottom: 6,
|
||||
|
@ -153,7 +153,8 @@ class _BottomControlState extends State<BottomControl> {
|
||||
size: 20,
|
||||
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('登录成功');
|
||||
try {
|
||||
Box userInfoCache = GStrorage.userInfo;
|
||||
if (!userInfoCache.isOpen) {
|
||||
userInfoCache = await Hive.openBox('userInfo');
|
||||
}
|
||||
await userInfoCache.put('userInfoCache', result['data']);
|
||||
|
||||
final HomeController homeCtr = Get.find<HomeController>();
|
||||
|
Reference in New Issue
Block a user