Skip to content

Commit 105f7fe

Browse files
committed
Re-enable download button after the download has finished
* Otherwise if the user cancels the installation the button will stay disabled until a refresh Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
1 parent 29954e3 commit 105f7fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/it/leddaz/revancedupdater/utils/misc/AppInstaller.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class AppInstaller() {
8888
withContext(Dispatchers.Main) {
8989
progressIndicator.visibility = View.GONE
9090
button.text = getString(context, R.string.download_button_text)
91+
button.isEnabled = true
9192
installApk(fileName, context)
9293
}
9394
}

0 commit comments

Comments
 (0)