diff --git a/lib/widgets/post/compose_settings_sheet.dart b/lib/widgets/post/compose_settings_sheet.dart index 6d66329d..391db9a4 100644 --- a/lib/widgets/post/compose_settings_sheet.dart +++ b/lib/widgets/post/compose_settings_sheet.dart @@ -517,6 +517,25 @@ class ComposeSettingsSheet extends HookConsumerWidget { ], ).padding(left: 16, right: 8), ), + // Include current realm if it's not null and not in joined realms + if (currentRealm != null && + !(userRealms.value ?? []).any( + (r) => r.id == currentRealm.id, + )) + DropdownMenuItem( + value: currentRealm, + child: Row( + children: [ + ProfilePictureWidget( + fileId: currentRealm.picture?.id, + fallbackIcon: Symbols.workspaces, + radius: 16, + ), + const SizedBox(width: 12), + Text(currentRealm.name), + ], + ).padding(left: 16, right: 8), + ), if (userRealms.hasValue) ...(userRealms.value ?? []).map( (realm) => DropdownMenuItem(