Do not show username education if username is set.
This commit is contained in:
parent
595cced5b7
commit
5e97a6b192
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class EditProfileFragment : LoggingFragment() {
|
|||
binding.manageProfileNameContainer.setOnClickListener { v: View -> findNavController(v).safeNavigate(EditProfileFragmentDirections.actionManageProfileName()) }
|
||||
|
||||
binding.manageProfileUsernameContainer.setOnClickListener { v: View ->
|
||||
if (SignalStore.uiHints().hasSeenUsernameEducation()) {
|
||||
if (SignalStore.uiHints().hasSeenUsernameEducation() || SignalStore.account().username != null) {
|
||||
if (SignalStore.account().username != null) {
|
||||
MaterialAlertDialogBuilder(requireContext(), R.style.ThemeOverlay_Signal_MaterialAlertDialog_List)
|
||||
.setItems(R.array.username_edit_entries) { _: DialogInterface?, w: Int ->
|
||||
|
|
Loading…
Add table
Reference in a new issue