Removed theme from some dialogs as the button text became invisible

This commit is contained in:
Blatzar 2022-12-15 21:00:09 +01:00
parent 3fdf41869e
commit 304b103e32
2 changed files with 2 additions and 2 deletions

View file

@ -476,7 +476,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
}
private fun showConfirmExitDialog() {
val builder: AlertDialog.Builder = AlertDialog.Builder(this, R.style.AlertDialogCustom)
val builder: AlertDialog.Builder = AlertDialog.Builder(this)
builder.setTitle(R.string.confirm_exit_dialog)
builder.apply {
setPositiveButton(R.string.yes) { _, _ -> super.onBackPressed() }

View file

@ -319,7 +319,7 @@ object AppUtils {
fun Activity.downloadAllPluginsDialog(repositoryUrl: String, repositoryName: String) {
runOnUiThread {
val context = this
val builder: AlertDialog.Builder = AlertDialog.Builder(this, R.style.AlertDialogCustom)
val builder: AlertDialog.Builder = AlertDialog.Builder(this)
builder.setTitle(
repositoryName
)