fix: editor activity can be accessed even if the tools are not installed

This commit is contained in:
Akash Yadav
2023-06-28 17:10:33 +05:30
parent 2549757454
commit cfbbbc4440
@@ -242,7 +242,7 @@ class MainActivity : LimitlessIDEActivity() {
builder.setPositiveButton(android.R.string.ok) { _, _ -> openTerminal() }
builder.setNegativeButton(
android.R.string.cancel) { _, _ -> finishAffinity() }
builder.setNeutralButton(string.btn_docs) { _, _ -> app.openDocs() }
builder.setNeutralButton(string.btn_docs) { _, _ -> app.openDocs(); finishAffinity() }
builder.show()
}