mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix cache issue
This commit is contained in:
		@@ -105,7 +105,7 @@ abstract class BaseSerializationHelper<T extends SerializableElement> {
 | 
				
			|||||||
    await _loadCache();
 | 
					    await _loadCache();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Insert or replace the element
 | 
					    // Insert or replace the element
 | 
				
			||||||
    _cache.where((element) => !isToReplace(element)).toList();
 | 
					    _cache = _cache.where((element) => !isToReplace(element)).toList();
 | 
				
			||||||
    _cache.add(newEl);
 | 
					    _cache.add(newEl);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _cache.sort();
 | 
					    _cache.sort();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user