use material 3

This commit is contained in:
Fabian Freund
2026-04-28 14:12:07 +02:00
parent 6e3b782d4e
commit 27bac0d45a
2 changed files with 3 additions and 3 deletions
@@ -7,7 +7,7 @@
package eu.weblibre.flutter_mozilla_components.activities
import android.app.Activity
import android.app.AlertDialog
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import android.content.Context
import android.content.Intent
import android.content.pm.ShortcutManager
@@ -421,7 +421,7 @@ class IntentReceiverActivity : Activity() {
"The original profile's app state and saved data will not be used.\n\n" +
"Do you want to proceed anyway?"
AlertDialog.Builder(this)
MaterialAlertDialogBuilder(this)
.setTitle("Profile Mismatch")
.setMessage(message)
.setPositiveButton("Open in Current Profile") { _, _ ->
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.AppCompat.Translucent" parent="Theme.AppCompat.NoActionBar">
<style name="Theme.AppCompat.Translucent" parent="Theme.Material3.DayNight.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>