Skip to content

Commit

Permalink
update next user on logout/login
Browse files Browse the repository at this point in the history
  • Loading branch information
brettalcox committed Feb 24, 2016
1 parent cb4ab09 commit ddf9c88
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logU/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>6</string>
<string>7</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
9 changes: 9 additions & 0 deletions logU/SettingsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ class SettingsTableViewController: FormViewController {
defaults.setObject("", forKey: "USERNAME")
defaults.setValue(0, forKey: "ISLOGGEDIN")
defaults.synchronize()

shouldUpdateDash = true
shouldUpdatePoundage = true
shouldUpdateSquat = true
shouldUpdateBench = true
shouldUpdateDeadlift = true
shouldUpdateMax = true
shouldUpdateWeek = true
shouldUpdateStats = true
}

func viewPrivacy(cell: ButtonCellOf<String>, row: ButtonRow) {
Expand Down

0 comments on commit ddf9c88

Please sign in to comment.