mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +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) {
|
if (currentUser != null) {
|
||||||
binding.baseUrlText.text = Uri.parse(currentUser!!.baseUrl).host
|
binding.baseUrlText.text = Uri.parse(currentUser!!.baseUrl).host
|
||||||
setupServerAgeWarning()
|
setupServerAgeWarning()
|
||||||
|
|
||||||
// TODO: fix reauthorize
|
|
||||||
// binding.settingsReauthorize?.addPreferenceClickListener {
|
|
||||||
// router.pushController(
|
|
||||||
// RouterTransaction.with(WebViewLoginController(currentUser!!.baseUrl, true))
|
|
||||||
// .pushChangeHandler(VerticalChangeHandler())
|
|
||||||
// .popChangeHandler(VerticalChangeHandler())
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (currentUser!!.displayName != null) {
|
if (currentUser!!.displayName != null) {
|
||||||
binding.displayNameText.text = currentUser!!.displayName
|
binding.displayNameText.text = currentUser!!.displayName
|
||||||
}
|
}
|
||||||
@ -268,9 +258,9 @@ class SettingsActivity : BaseActivity() {
|
|||||||
|
|
||||||
private fun setupPhoneBookIntegration() {
|
private fun setupPhoneBookIntegration() {
|
||||||
if (CapabilitiesUtilNew.isPhoneBookIntegrationAvailable(currentUser!!)) {
|
if (CapabilitiesUtilNew.isPhoneBookIntegrationAvailable(currentUser!!)) {
|
||||||
binding.settingsPhoneBookIntegration?.visibility = View.VISIBLE
|
binding.settingsPhoneBookIntegration.visibility = View.VISIBLE
|
||||||
} else {
|
} else {
|
||||||
binding.settingsPhoneBookIntegration?.visibility = View.GONE
|
binding.settingsPhoneBookIntegration.visibility = View.GONE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -275,13 +275,6 @@
|
|||||||
apc:cardElevation="0dp"
|
apc:cardElevation="0dp"
|
||||||
apc:mpc_title="@string/nc_settings_advanced_title">
|
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
|
<com.yarolegovich.mp.MaterialStandardPreference
|
||||||
android:id="@+id/settings_client_cert"
|
android:id="@+id/settings_client_cert"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user