0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-10 12:55:06 +00:00

testing 2

This commit is contained in:
X1nto 2020-07-06 19:44:10 +04:00
parent b1e6b0d1b2
commit caa806bf21
2 changed files with 3 additions and 1 deletions

View file

@ -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)

View file

@ -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>