Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4e12ba2 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix dark mode NPE

Fixes: 130812424
Test: toggle dark mode via tile after rebooting and dimssing power menu
Change-Id: I230c843f3246661286e2b4f56540da58fe8b0a3c
parent db44ba1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
    @Override
    public void onUiModeChanged() {
        mContext.getTheme().applyStyle(mContext.getThemeResId(), true);
        if (mDialog.isShowing()) {
        if (mDialog != null && mDialog.isShowing()) {
            mDialog.refreshDialog();
        }
    }