Skip to content

Commit

Permalink
Forgot to call super.viewWillAppear().
Browse files Browse the repository at this point in the history
  • Loading branch information
willhains committed Jan 12, 2020
1 parent 70834ee commit 01e4123
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/Kotoba/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ final class SettingsViewController: UIViewController, UIDocumentPickerDelegate,

override func viewWillAppear(_ animated: Bool)
{
super.viewWillAppear(animated)

_refreshViews()
}

Expand Down
2 changes: 2 additions & 0 deletions code/Kotoba/WordListViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class WordListViewController: UITableViewController

override func viewWillAppear(_ animated: Bool)
{
super.viewWillAppear(animated)

self.shareButton.isEnabled = wordListStore.data.count > 0
}

Expand Down

0 comments on commit 01e4123

Please sign in to comment.