fix(mobile): show new local assets in offline mode (#16817)
fix: show new local assets in offline mode
This commit is contained in:
@@ -75,6 +75,9 @@ class AssetNotifier extends StateNotifier<bool> {
|
||||
}
|
||||
|
||||
log.info("Load assets: ${stopwatch.elapsedMilliseconds}ms");
|
||||
} catch (error) {
|
||||
// If there is error in getting the remote assets, still showing the new local assets
|
||||
await _albumService.refreshDeviceAlbums();
|
||||
} finally {
|
||||
_getAllAssetInProgress = false;
|
||||
state = false;
|
||||
|
||||
Reference in New Issue
Block a user