Skip to content

Commit 2ffba01

Browse files
Merge pull request #2746 from nextcloud/chooseAccountMultipleTimes
Make button clickable multiple times
2 parents b67fde8 + c37c980 commit 2ffba01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/it/niedermann/owncloud/notes/importaccount/ImportAccountActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ protected void onCreate(Bundle savedInstanceState) {
6666

6767
binding.welcomeText.setText(getString(R.string.welcome_text, getString(R.string.app_name)));
6868
binding.addButton.setOnClickListener((v) -> {
69-
binding.addButton.setEnabled(false);
7069
binding.status.setVisibility(View.GONE);
7170
try {
7271
AccountImporter.pickNewAccount(this);
@@ -182,4 +181,4 @@ private void restoreCleanState() {
182181
binding.progressText.setVisibility(View.GONE);
183182
});
184183
}
185-
}
184+
}

0 commit comments

Comments
 (0)