Launch city search (#1692)

This commit is contained in:
Vishnu Mohandas 2024-02-01 23:04:05 +05:30 committed by GitHub
commit f38baedd92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,6 @@ import "package:photos/models/local_entity_data.dart";
import "package:photos/models/location/location.dart"; import "package:photos/models/location/location.dart";
import 'package:photos/models/location_tag/location_tag.dart'; import 'package:photos/models/location_tag/location_tag.dart';
import "package:photos/services/entity_service.dart"; import "package:photos/services/entity_service.dart";
import "package:photos/services/feature_flag_service.dart";
import "package:photos/services/remote_assets_service.dart"; import "package:photos/services/remote_assets_service.dart";
import "package:shared_preferences/shared_preferences.dart"; import "package:shared_preferences/shared_preferences.dart";
@ -32,9 +31,7 @@ class LocationService {
void init(SharedPreferences preferences) { void init(SharedPreferences preferences) {
prefs = preferences; prefs = preferences;
if (FeatureFlagService.instance.isInternalUserOrDebugBuild()) { _loadCities();
_loadCities();
}
} }
Future<Iterable<LocalEntity<LocationTag>>> _getStoredLocationTags() async { Future<Iterable<LocalEntity<LocationTag>>> _getStoredLocationTags() async {