Skip to content

Commit

Permalink
Merge pull request #1065 from kyles-ep/master
Browse files Browse the repository at this point in the history
SIMPLY-2292
  • Loading branch information
Kyle Sakai authored Sep 18, 2019
2 parents 04bdf2f + 557b455 commit 43e3c18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Simplified/NYPLSettingsAccountsList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
self.tableView.delegate = self
self.tableView.dataSource = self


// cleanup accounts, remove demo account or accounts not supported through accounts.json // will be refactored when implementing librsry registry
var accountsToRemove = [String]()

Expand Down Expand Up @@ -69,7 +69,6 @@
style: .plain,
target: self,
action: #selector(addAccount))
updateUI()

NotificationCenter.default.addObserver(self,
selector: #selector(reloadAfterAccountChange),
Expand All @@ -79,6 +78,9 @@
selector: #selector(catalogChangeHandler),
name: NSNotification.Name.NYPLCatalogDidLoad,
object: nil)

self.libraryAccounts = manager.accounts()
updateUI()
}

func reloadAfterAccountChange() {
Expand Down
2 changes: 1 addition & 1 deletion Simplified/Simplified-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.3.0</string>
<string>3.3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSpokenName</key>
Expand Down

0 comments on commit 43e3c18

Please sign in to comment.