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

Commit ae680e3c authored by PauloftheWest's avatar PauloftheWest
Browse files

Fixed a Wi-Fi dialog crash

Bug: 18498974
Change-Id: I00ba9828c4f15cefd143fc1c92e1c81f43e91c95
parent 239d185a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -307,7 +307,8 @@ public class WifiConfigController implements TextWatcher,
            }
        }

        if (mEdit || (mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){
        if ((mEdit) || (mAccessPoint != null
                && mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){
            mConfigUi.setCancelButton(res.getString(R.string.wifi_cancel));
        }else{
            mConfigUi.setCancelButton(res.getString(R.string.wifi_display_options_done));