kopia lustrzana https://gitlab.com/mysocialportal/relatica
				
				
				
			Fix DM status when loading reflects that not "No threads"
							rodzic
							
								
									8ee83250ad
								
							
						
					
					
						commit
						4babe281a7
					
				| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue