💄 Better attachments in posts

This commit is contained in:
2024-07-26 14:21:00 +08:00
parent 0237409d27
commit 6e3d0f9787
9 changed files with 53 additions and 50 deletions

View File

@ -82,7 +82,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
},
children: [
Obx(() {
if (auth.isAuthorized.isFalse) {
if (auth.isAuthorized.isFalse || auth.userProfile.value == null) {
return ListTile(
contentPadding: const EdgeInsets.symmetric(horizontal: 28),
leading: const Icon(Icons.account_circle),
@ -172,7 +172,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
top: 12,
),
Obx(() {
if (auth.isAuthorized.isFalse) {
if (auth.isAuthorized.isFalse || auth.userProfile.value == null) {
return const SizedBox();
}