mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Removed theme from some dialogs as the button text became invisible
This commit is contained in:
parent
3fdf41869e
commit
304b103e32
2 changed files with 2 additions and 2 deletions
|
@ -476,7 +476,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun showConfirmExitDialog() {
|
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.setTitle(R.string.confirm_exit_dialog)
|
||||||
builder.apply {
|
builder.apply {
|
||||||
setPositiveButton(R.string.yes) { _, _ -> super.onBackPressed() }
|
setPositiveButton(R.string.yes) { _, _ -> super.onBackPressed() }
|
||||||
|
|
|
@ -319,7 +319,7 @@ object AppUtils {
|
||||||
fun Activity.downloadAllPluginsDialog(repositoryUrl: String, repositoryName: String) {
|
fun Activity.downloadAllPluginsDialog(repositoryUrl: String, repositoryName: String) {
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
val context = this
|
val context = this
|
||||||
val builder: AlertDialog.Builder = AlertDialog.Builder(this, R.style.AlertDialogCustom)
|
val builder: AlertDialog.Builder = AlertDialog.Builder(this)
|
||||||
builder.setTitle(
|
builder.setTitle(
|
||||||
repositoryName
|
repositoryName
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue