fix: 未登录状态页面显示异常

This commit is contained in:
guozhigq
2023-07-16 20:43:21 +08:00
parent a0427c672b
commit facfa0d11e
5 changed files with 17 additions and 4 deletions

View File

@ -166,7 +166,7 @@ class _DynamicsPageState extends State<DynamicsPage>
bottom: 0,
child: Align(
alignment: Alignment.center,
child: user.get(UserBoxKey.userLogin)
child: user.get(UserBoxKey.userLogin) ?? false
? GestureDetector(
onTap: () => showModalBottomSheet(
context: context,