Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identity server & Contact Integration #280

Open
wants to merge 12 commits into
base: stable
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove non-functional contanct sync support
stefanhofman committed Mar 31, 2021
commit 9eab50b7b1126e5db13004254d8428fb0db595b7
8 changes: 4 additions & 4 deletions Nio/Settings/IdentityServerSettings.swift
Original file line number Diff line number Diff line change
@@ -92,9 +92,9 @@ struct InformationContainerView: View {
imageName: "globe"
)

InformationDetailView(title: L10n.SettingsIdentityServer.optionalContactSync,
subTitle: L10n.SettingsIdentityServer.optionalContactSyncText,
imageName: "person")
//InformationDetailView(title: L10n.SettingsIdentityServer.optionalContactSync,
// subTitle: L10n.SettingsIdentityServer.optionalContactSyncText,
// imageName: "person")
}
.padding(.horizontal)
}
@@ -192,7 +192,7 @@ struct IdentityServerSettingsView: View {
)
if identityServerBool {
TextField(L10n.SettingsIdentityServer.url, text: $identityServer)
Toggle(L10n.SettingsIdentityServer.contactSync, isOn: $syncContacts).onChange(of: syncContacts, perform: syncContacts(isSync:))
//Toggle(L10n.SettingsIdentityServer.contactSync, isOn: $syncContacts).onChange(of: syncContacts, perform: syncContacts(isSync:))
}
}
}