mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Do not show username education if username is set.
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user