Fix DM status when loading reflects that not "No threads"

accessibility-and-i18n
Hank Grabowski 2025-01-19 12:36:50 -06:00
rodzic 8ee83250ad
commit 4babe281a7
1 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -60,9 +60,12 @@ class MessagesScreen extends ConsumerWidget {
final threadIds = ref.watch(directMessageThreadIdsProvider(profile));
return threadIds.isEmpty
? Text(loading
? 'Loading Direct Message Threads...'
: 'No Direct Message Threads')
? Text(
loading
? 'Loading Direct Message Threads...'
: 'No Direct Message Threads',
softWrap: true,
)
: ResponsiveMaxWidth(
child: ListView.separated(
itemCount: threadIds.length,