Promote knocking to labs

This commit is contained in:
Stefan Ceriu
2026-09-02 11:28:36 +03:00
parent 6839258111
commit 2ae8b9bf75
7 changed files with 21 additions and 6 deletions
@@ -17,6 +17,7 @@ struct LabsScreen: View {
header
threadsSection
gallerySection
knockingSection
}
.compoundList()
.navigationTitle(L10n.screenLabsTitle)
@@ -71,6 +72,17 @@ struct LabsScreen: View {
.compoundListSectionFooter()
}
}
private var knockingSection: some View {
Section {
ListRow(label: .default(title: L10n.screenLabsEnableKnocking,
icon: \.askToJoin),
kind: .toggle($context.knockingEnabled))
} footer: {
Text(L10n.screenLabsEnableKnockingDescription)
.compoundListSectionFooter()
}
}
}
// MARK: - Previews