Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1196178 - Always show change APN warning when data roaming is no or off #31575

Merged
merged 1 commit into from
Sep 16, 2015

Conversation

evanxd
Copy link
Contributor

@evanxd evanxd commented Aug 28, 2015

No description provided.

@mozilla-autolander-deprecated
Copy link
Contributor

@@ -92,8 +92,7 @@ define(function(require) {
})
]).then(function(results) {
var activeApnId = results[0];
var dataRoamingEnabled = results[1];
if (activeApnId === _apnItem.id && dataRoamingEnabled) {
if (activeApnId === _apnItem.id) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove above Promise.all and new Promise((resolve) => {} and use new Promise instead since the dataRoamingEnabled is not used.

The comment

// Display the warning only when Data roaming is turned on and it is
// the current APN in use that’s being edited.

should be updated as well

@mozilla-autolander-deprecated
Copy link
Contributor

@mozilla-autolander-deprecated
Copy link
Contributor

@mozilla-autolander-deprecated
Copy link
Contributor

@mozilla-autolander-deprecated
Copy link
Contributor

evanxd added a commit that referenced this pull request Sep 16, 2015
Bug 1196178 - Always show change APN warning when data roaming is no or off r=evelyn, gasolin
@evanxd evanxd merged commit db6664f into mozilla-b2g:master Sep 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants