Closed Varkh closed 7 years ago
Search for all navigation.showMessage, and change all text to constants.
navigation.showMessage
Example: navigation.showMessage("Pin is incorrect, try again."); change to: var MESSAGES = { PIN_INCORRECT: "Pin is incorrect, try again." };
navigation.showMessage("Pin is incorrect, try again.");
var MESSAGES = { PIN_INCORRECT: "Pin is incorrect, try again." };
navigation.showMessage(MESSAGES.PIN_INCORRECT);
Search for all
navigation.showMessage
, and change all text to constants.Example:
navigation.showMessage("Pin is incorrect, try again.");
change to:var MESSAGES = { PIN_INCORRECT: "Pin is incorrect, try again." };
navigation.showMessage(MESSAGES.PIN_INCORRECT);