mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
Remove reauthorize setting
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b5febb7e3d
commit
fdf76e260b
@ -203,16 +203,6 @@ class SettingsActivity : BaseActivity() {
|
||||
if (currentUser != null) {
|
||||
binding.baseUrlText.text = Uri.parse(currentUser!!.baseUrl).host
|
||||
setupServerAgeWarning()
|
||||
|
||||
// TODO: fix reauthorize
|
||||
// binding.settingsReauthorize?.addPreferenceClickListener {
|
||||
// router.pushController(
|
||||
// RouterTransaction.with(WebViewLoginController(currentUser!!.baseUrl, true))
|
||||
// .pushChangeHandler(VerticalChangeHandler())
|
||||
// .popChangeHandler(VerticalChangeHandler())
|
||||
// )
|
||||
// }
|
||||
|
||||
if (currentUser!!.displayName != null) {
|
||||
binding.displayNameText.text = currentUser!!.displayName
|
||||
}
|
||||
@ -268,9 +258,9 @@ class SettingsActivity : BaseActivity() {
|
||||
|
||||
private fun setupPhoneBookIntegration() {
|
||||
if (CapabilitiesUtilNew.isPhoneBookIntegrationAvailable(currentUser!!)) {
|
||||
binding.settingsPhoneBookIntegration?.visibility = View.VISIBLE
|
||||
binding.settingsPhoneBookIntegration.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.settingsPhoneBookIntegration?.visibility = View.GONE
|
||||
binding.settingsPhoneBookIntegration.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -275,13 +275,6 @@
|
||||
apc:cardElevation="0dp"
|
||||
apc:mpc_title="@string/nc_settings_advanced_title">
|
||||
|
||||
<!-- TODO: fix reauthorize -->
|
||||
<!-- <com.yarolegovich.mp.MaterialStandardPreference-->
|
||||
<!-- android:id="@+id/settings_reauthorize"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- apc:mp_title="@string/nc_settings_reauthorize" />-->
|
||||
|
||||
<com.yarolegovich.mp.MaterialStandardPreference
|
||||
android:id="@+id/settings_client_cert"
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user