mirror of
https://github.com/BlueBubblesApp/bluebubbles-app.git
synced 2025-05-17 13:15:58 +08:00
fix: issue findmy initial refresh
This commit is contained in:
@ -38,6 +38,7 @@ This update brings a ton of QOL improvements and bug fixes.
|
||||
- Fixes issue showing digital touch messages in the message view
|
||||
- Fixes issue where downloading a live photo would crash the app
|
||||
- Fixes issue where send/receive sounds would be backed-up causing a missing file path issue when restored
|
||||
- Fixes issue where the FindMy page's initial location refresh may not update locations properly
|
||||
|
||||
### Desktop Specific
|
||||
|
||||
|
@ -94,7 +94,7 @@ class _FindMyPageState extends OptimizedState<FindMyPage> with SingleTickerProvi
|
||||
});
|
||||
}
|
||||
|
||||
void getLocations({bool refresh = false}) async {
|
||||
void getLocations({bool refresh = true}) async {
|
||||
if (!(Platform.isLinux && !kIsWeb)) {
|
||||
LocationPermission granted = await Geolocator.checkPermission();
|
||||
if (granted == LocationPermission.denied) {
|
||||
@ -876,7 +876,7 @@ class _FindMyPageState extends OptimizedState<FindMyPage> with SingleTickerProvi
|
||||
refreshing = true;
|
||||
refreshing2 = true;
|
||||
});
|
||||
getLocations(refresh: true);
|
||||
getLocations();
|
||||
},
|
||||
),
|
||||
),
|
||||
@ -1193,7 +1193,7 @@ class _FindMyPageState extends OptimizedState<FindMyPage> with SingleTickerProvi
|
||||
refreshing = true;
|
||||
refreshing2 = true;
|
||||
});
|
||||
getLocations(refresh: true);
|
||||
getLocations();
|
||||
},
|
||||
),
|
||||
),
|
||||
@ -1266,7 +1266,7 @@ class _FindMyPageState extends OptimizedState<FindMyPage> with SingleTickerProvi
|
||||
refreshing = true;
|
||||
refreshing2 = true;
|
||||
});
|
||||
getLocations(refresh: true);
|
||||
getLocations();
|
||||
},
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user