|
|
|
@ -29,7 +29,7 @@ var routes = [
|
|
|
|
|
},
|
|
|
|
|
async: function (routeTo, routeFrom, resolve, reject) {
|
|
|
|
|
// Show a nag message if no account is set up
|
|
|
|
|
var accountsetup = (inStorage("accountkey") && inStorage("phonenumber"));
|
|
|
|
|
var accountsetup = (inStorage("accountkey") && inStorage("phonenumber")) || getStorage("hideaccountnag") == "true";
|
|
|
|
|
resolve({
|
|
|
|
|
templateUrl: './pages/home.html'
|
|
|
|
|
}, {
|
|
|
|
@ -333,6 +333,14 @@ var routes = [
|
|
|
|
|
selected: getStorage("animation") == "off"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "hideaccountnag",
|
|
|
|
|
title: "Hide \"Finish Account Setup\"",
|
|
|
|
|
text: "",
|
|
|
|
|
toggle: true,
|
|
|
|
|
checked: getStorage("hideaccountnag") == "true",
|
|
|
|
|
onclick: ""
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
resolve({
|
|
|
|
|