removed LLS feature flag

This commit is contained in:
Mauro Romito
2026-04-27 12:55:33 +02:00
committed by Mauro
parent c33cb5671c
commit 876109ef75
16 changed files with 55 additions and 124 deletions
@@ -61,7 +61,6 @@ protocol AdvancedSettingsProtocol: AnyObject {
var sharePresence: Bool { get set }
var optimizeMediaUploads: Bool { get set }
var liveLocationMinimumDistanceUpdate: Int { get set }
var liveLocationSharingEnabled: Bool { get set }
}
extension AppSettings: AdvancedSettingsProtocol { }
@@ -44,9 +44,7 @@ struct AdvancedSettingsScreen: View {
moderationAndSafetySection
timelineMediaSection
if context.liveLocationSharingEnabled {
liveLocationSection
}
liveLocationSection
}
.compoundList()
.navigationTitle(L10n.commonAdvancedSettings)
@@ -164,9 +162,7 @@ private extension AppAppearance {
struct AdvancedSettingsScreen_Previews: PreviewProvider, TestablePreview {
static let viewModel = {
AppSettings.resetAllSettings()
let appSettings = AppSettings()
appSettings.liveLocationSharingEnabled = true
return AdvancedSettingsScreenViewModel(advancedSettings: appSettings,
return AdvancedSettingsScreenViewModel(advancedSettings: AppSettings(),
analytics: ServiceLocator.shared.analytics,
clientProxy: ClientProxyMock(.init()),
userIndicatorController: UserIndicatorControllerMock())