mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-03 22:56:53 +02:00
fix(startup): keep shared backend alive across activity recreation
This commit is contained in:
1 parent
fb08110797
commit
cda9868a1f
2 files changed
+4
-6
No files matched your search
+1
-1
@@ -243,7 +243,7 @@ Future<bool> _detectInitialSafAccessLoss(AppSettings settings) async {
|
||||
try {
|
||||
return !await PlatformBridge.validateSafTreeAccess(
|
||||
settings.downloadTreeUri,
|
||||
);
|
||||
).timeout(const Duration(seconds: 2));
|
||||
} catch (e) {
|
||||
// A transient bridge failure must not trap the user at launch. Download
|
||||
// preflight validates strictly again before any write starts.
|
||||
|
||||
Reference in new issue
Block a user