|
@@ -776,7 +776,11 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
|
|
private func handleLoginSuccess() {
|
|
private func handleLoginSuccess() {
|
|
// used when login hud successfully went through
|
|
// used when login hud successfully went through
|
|
let appDelegate = UIApplication.shared.delegate as! AppDelegate
|
|
let appDelegate = UIApplication.shared.delegate as! AppDelegate
|
|
- appDelegate.registerForNotifications()
|
|
|
|
|
|
+
|
|
|
|
+ if !UserDefaults.standard.bool(forKey: "notifications_disabled") {
|
|
|
|
+ appDelegate.registerForNotifications()
|
|
|
|
+ }
|
|
|
|
+
|
|
initSelectionCells();
|
|
initSelectionCells();
|
|
if let onLoginSuccess = self.onLoginSuccess {
|
|
if let onLoginSuccess = self.onLoginSuccess {
|
|
onLoginSuccess()
|
|
onLoginSuccess()
|