Update dependencies and solve lint issues
This commit is contained in:
parent
ff82e54f36
commit
1e4a7904f6
@ -42,14 +42,14 @@ class EditProfileActivity : BaseActivity() {
|
|||||||
setMessage(getString(R.string.profile_save_changes))
|
setMessage(getString(R.string.profile_save_changes))
|
||||||
setNegativeButton(android.R.string.cancel) { _, _ -> }
|
setNegativeButton(android.R.string.cancel) { _, _ -> }
|
||||||
setPositiveButton(android.R.string.ok) { _, _ ->
|
setPositiveButton(android.R.string.ok) { _, _ ->
|
||||||
this@addCallback.isEnabled = false
|
this@addCallback.remove()
|
||||||
super.onBackPressedDispatcher.onBackPressed()
|
onBackPressedDispatcher.onBackPressed()
|
||||||
}
|
}
|
||||||
}.show()
|
}.show()
|
||||||
} else {
|
} else {
|
||||||
this.isEnabled = false
|
this@addCallback.remove()
|
||||||
if (model.submittedChanges) setResult(RESULT_OK)
|
if (model.submittedChanges) setResult(RESULT_OK)
|
||||||
super.onBackPressedDispatcher.onBackPressed()
|
onBackPressedDispatcher.onBackPressed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
app:layout_constraintTop_toBottomOf="@+id/imageView4" />
|
app:layout_constraintTop_toBottomOf="@+id/imageView4" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@id/error_text"
|
android:id="@+id/error_text2"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/panda_pull_to_refresh_to_try_again"
|
android:text="@string/panda_pull_to_refresh_to_try_again"
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit def947b5b1392b3282174bebd0217037f66d0362
|
Subproject commit c03698e241de89725c5ded420da696f7961387d4
|
@ -1 +1 @@
|
|||||||
Subproject commit 23d4d94b45a848f0c64a042985eb03d0acc2f18b
|
Subproject commit 1584ad2ac65e75a3fa53d71280d04d4ac015d39f
|
Loading…
x
Reference in New Issue
Block a user