Skip to content

Commit 2afc1b5

Browse files
authored
Move pending invites from app settings to debug view (#512)
1 parent 4d73ad8 commit 2afc1b5

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

Convos/App Settings/AppSettingsView.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,6 @@ struct AppSettingsView: View {
160160
}
161161
.foregroundStyle(.colorTextPrimary)
162162

163-
NavigationLink {
164-
PendingInviteDebugView(session: session)
165-
} label: {
166-
Text("Pending Invites")
167-
}
168-
.foregroundStyle(.colorTextPrimary)
169-
170163
if !ConfigManager.shared.currentEnvironment.isProduction {
171164
NavigationLink {
172165
DebugExportView(environment: ConfigManager.shared.currentEnvironment, session: session)

Convos/Debug View/DebugView.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,15 @@ struct DebugViewSection: View {
188188
}
189189
}
190190

191+
Section("Pending Invites") {
192+
NavigationLink {
193+
PendingInviteDebugView(session: session)
194+
} label: {
195+
Text("View Pending Invites")
196+
.foregroundStyle(.colorTextPrimary)
197+
}
198+
}
199+
191200
Section("Asset Renewal") {
192201
NavigationLink {
193202
DebugAssetRenewalView(session: session)

0 commit comments

Comments
 (0)