mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-10 12:55:06 +00:00
testing 2
This commit is contained in:
parent
b1e6b0d1b2
commit
caa806bf21
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,7 @@ import com.vanced.manager.utils.MiuiHelper
|
|||
object DialogContainer {
|
||||
|
||||
fun showSecurityDialog(context: Context) {
|
||||
AlertDialog.Builder(context, R.style.ThemeOverlay_AppCompat_Dialog_Alert)
|
||||
AlertDialog.Builder(context)
|
||||
.setTitle(context.resources.getString(R.string.welcome))
|
||||
.setMessage(context.resources.getString(R.string.security_context))
|
||||
.setCancelable(false)
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowBackground">?colorSurface</item>
|
||||
<item name="android:statusBarColor">#787777</item>
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.MaterialComponents.Dialog.Alert</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
@ -95,6 +96,7 @@
|
|||
<item name="android:windowBackground">?colorSurface</item>
|
||||
<item name="android:statusBarColor">?colorSurface</item>
|
||||
<item name="android:navigationBarColor">#000000</item>
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.MaterialComponents.Dialog.Alert</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue