Android: Add workaround for conversion progress in dark mode

This commit is contained in:
JosJuice 2020-09-12 13:43:22 +02:00
parent f01ccfdb82
commit 5ba0832158
1 changed files with 3 additions and 1 deletions

View File

@ -409,7 +409,9 @@ public class ConvertFragment extends Fragment implements View.OnClickListener
mCanceled = false;
ProgressDialog progressDialog = new ProgressDialog(context, R.style.DolphinDialogBase);
// For some reason, setting R.style.DolphinDialogBase as the theme here gives us white text
// on a white background when the device is set to dark mode, so let's not set a theme.
ProgressDialog progressDialog = new ProgressDialog(context);
progressDialog.setTitle(R.string.convert_converting);