Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
refactor: drop unnecessary .apply
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Aug 11, 2024
1 parent 287f7e9 commit 8220624
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class PasswordCreationActivity : BasePGPActivity() {
AutofillPreferences.directoryStructure(this@PasswordCreationActivity) ==
DirectoryStructure.EncryptedUsername || suggestedUsername != null
) {
usernameInputLayout.apply { visibility = View.VISIBLE }
usernameInputLayout.visibility = View.VISIBLE
if (suggestedUsername != null) username.setText(suggestedUsername)
else if (suggestedName != null) username.requestFocus()
}
Expand Down

0 comments on commit 8220624

Please sign in to comment.