1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00

format fix

This commit is contained in:
Alex 2024-04-06 16:02:56 -05:00
parent 71d346207d
commit 7e611fa99c
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

View File

@ -30,8 +30,8 @@ class MapStateNotifier extends _$MapStateNotifier {
.getSetting<bool>(AppSettingsEnum.mapShowFavoriteOnly), .getSetting<bool>(AppSettingsEnum.mapShowFavoriteOnly),
includeArchived: appSettingsProvider includeArchived: appSettingsProvider
.getSetting<bool>(AppSettingsEnum.mapIncludeArchived), .getSetting<bool>(AppSettingsEnum.mapIncludeArchived),
withPartners: appSettingsProvider withPartners:
.getSetting<bool>(AppSettingsEnum.mapwithPartners), appSettingsProvider.getSetting<bool>(AppSettingsEnum.mapwithPartners),
relativeTime: relativeTime:
appSettingsProvider.getSetting<int>(AppSettingsEnum.mapRelativeDate), appSettingsProvider.getSetting<int>(AppSettingsEnum.mapRelativeDate),
); );
@ -116,7 +116,6 @@ class MapStateNotifier extends _$MapStateNotifier {
state = state.copyWith(shouldRefetchMarkers: shouldRefetch); state = state.copyWith(shouldRefetchMarkers: shouldRefetch);
} }
void switchIncludeArchived(bool isIncludeArchived) { void switchIncludeArchived(bool isIncludeArchived) {
ref.read(appSettingsServiceProvider).setSetting( ref.read(appSettingsServiceProvider).setSetting(
AppSettingsEnum.mapIncludeArchived, AppSettingsEnum.mapIncludeArchived,
@ -130,9 +129,9 @@ class MapStateNotifier extends _$MapStateNotifier {
void switchWithPartners(bool isWithPartners) { void switchWithPartners(bool isWithPartners) {
ref.read(appSettingsServiceProvider).setSetting( ref.read(appSettingsServiceProvider).setSetting(
AppSettingsEnum.mapwithPartners, AppSettingsEnum.mapwithPartners,
isWithPartners, isWithPartners,
); );
state = state.copyWith( state = state.copyWith(
withPartners: isWithPartners, withPartners: isWithPartners,
shouldRefetchMarkers: true, shouldRefetchMarkers: true,