alter dialog

This commit is contained in:
aayush262
2023-12-30 20:59:29 +05:30
parent 0b99dfe69c
commit 93fcb60f96
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ object Helper {
.queryDownload(title, episode, DownloadedType.Type.ANIME)
if (downloadCheck) {
AlertDialog.Builder(context)
AlertDialog.Builder(context , R.style.MyPopup)
.setTitle("Download Exists")
.setMessage("A download for this episode already exists. Do you want to overwrite it?")
.setPositiveButton("Yes") { _, _ ->

View File

@@ -31,7 +31,7 @@ class CustomMediaRouterChooserDialogFragment: MediaRouteChooserDialogFragment()
context: Context,
savedInstanceState: Bundle?
): MediaRouteChooserDialog =
MediaRouteChooserDialog(context)
MediaRouteChooserDialog(context, R.style.MyPopup)
}
class CustomMediaRouteControllerDialogFragment: MediaRouteControllerDialogFragment() {
@@ -39,5 +39,5 @@ class CustomMediaRouteControllerDialogFragment: MediaRouteControllerDialogFragme
context: Context,
savedInstanceState: Bundle?
): MediaRouteControllerDialog =
MediaRouteControllerDialog(context, R.style.ThemeOverlay_Dantotsu_MediaRouter)
MediaRouteControllerDialog(context, R.style.MyPopup)
}