Skip to content

Instantly share code, notes, and snippets.

@beaucollins
Last active December 15, 2016 18:34
Show Gist options
  • Save beaucollins/c544983eb4a11c0f06dae41abf5ae06a to your computer and use it in GitHub Desktop.
Save beaucollins/c544983eb4a11c0f06dae41abf5ae06a to your computer and use it in GitHub Desktop.
Alternative Fix
diff --git a/Authenticator/Source/TokenListViewController.swift b/Authenticator/Source/TokenListViewController.swift
index 512872c..7a56d67 100644
--- a/Authenticator/Source/TokenListViewController.swift
+++ b/Authenticator/Source/TokenListViewController.swift
@@ -33,7 +33,7 @@ class TokenListViewController: UITableViewController {
init(viewModel: TokenList.ViewModel, dispatchAction: (TokenList.Action) -> ()) {
self.viewModel = viewModel
self.dispatchAction = dispatchAction
- super.init(style: .Plain)
+ super.init(nibName: nil, bundle: nil)
}
required init?(coder aDecoder: NSCoder) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment