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