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

Commit ab4fb49a authored by Maurice Lam's avatar Maurice Lam
Browse files

[WifiSetup] Swap buttons position in Skip dialog

According to material-spec, buttons that keep users in the same
screen should be on the left (negative button) while button that
intorduce changes should be on the right, even if the action is
destructive.

Bug: 18542108
Change-Id: I335f83c6bb810cd43aeda28566baacea39435c57
parent c868f703
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ public class WifiSetupActivity extends WifiPickerActivity
            return new AlertDialog.Builder(getActivity())
                    .setMessage(messageRes)
                    .setCancelable(false)
                    .setNegativeButton(R.string.wifi_skip_anyway,
                    .setPositiveButton(R.string.wifi_skip_anyway,
                            new DialogInterface.OnClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int id) {
@@ -247,7 +247,7 @@ public class WifiSetupActivity extends WifiPickerActivity
                            activity.finishOrNext(RESULT_SKIP);
                        }
                    })
                    .setPositiveButton(R.string.wifi_dont_skip,
                    .setNegativeButton(R.string.wifi_dont_skip,
                            new DialogInterface.OnClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int id) {