mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
update dialog
This commit is contained in:
parent
5dc55b52f6
commit
00810374ea
1 changed files with 1 additions and 2 deletions
|
|
@ -27,7 +27,6 @@ import android.view.View
|
|||
import android.widget.TextView
|
||||
import android.widget.Toast
|
||||
import androidx.activity.viewModels
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.appcompat.app.AppCompatDelegate
|
||||
import androidx.appcompat.widget.Toolbar
|
||||
|
|
@ -1184,7 +1183,7 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
private fun chooseThemeDialog() {
|
||||
|
||||
/// Prepare dialog and its items
|
||||
val builder = AlertDialog.Builder(this)
|
||||
val builder = MaterialAlertDialogBuilder(this)
|
||||
builder.setTitle(getString(R.string.choose_theme_title))
|
||||
|
||||
val styles = arrayOf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue