Launch city search (#1692)
This commit is contained in:
commit
f38baedd92
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue