Skip to content

Commit c37c980

Browse files
tobiasKaminskyalperozturk96
authored andcommitted
Make button clickable multiple times
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent b67fde8 commit c37c980

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)