added an FF for the floating date

This commit is contained in:
Mauro Romito
2026-03-27 17:12:17 +01:00
committed by Mauro
parent 9b4fc23c2e
commit eafe1f25e3
3 changed files with 11 additions and 0 deletions
@@ -69,6 +69,8 @@ protocol DeveloperOptionsProtocol: AnyObject {
var linkNewDeviceEnabled: Bool { get set }
var liveLocationSharingEnabled: Bool { get set }
var floatingTimelineDateEnabled: Bool { get set }
}
extension AppSettings: DeveloperOptionsProtocol { }
@@ -80,6 +80,11 @@ struct DeveloperOptionsScreen: View {
Toggle(isOn: $context.liveLocationSharingEnabled) {
Text("Live location sharing")
}
Toggle(isOn: $context.floatingTimelineDateEnabled) {
Text("Floating timeline date")
Text("Shows a floating date badge while scrolling the timeline.")
}
}
Section("Join rules") {