summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/ChatViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-25 10:37:21 +0300
committerGravatar Vitaly Takmazov2018-12-25 10:44:07 +0300
commitc22688421066a358b1980f4399f421000febdaac (patch)
treef48ac07d5e95b79e928cba1dc89f55e2517f07ed /Juick/ViewControllers/ChatViewController.m
parentda64667f6ef19bfeedb8b4b40d875fcd10d4ef6c (diff)
PDKeychainBindingsController -> SAMKeychain
Diffstat (limited to 'Juick/ViewControllers/ChatViewController.m')
-rw-r--r--Juick/ViewControllers/ChatViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/ViewControllers/ChatViewController.m b/Juick/ViewControllers/ChatViewController.m
index 54614b7..a76cc00 100644
--- a/Juick/ViewControllers/ChatViewController.m
+++ b/Juick/ViewControllers/ChatViewController.m
@@ -26,7 +26,7 @@
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
self.tableView.allowsSelection = NO;
- self.me = [[PDKeychainBindings sharedKeychainBindings] stringForKey:@"com.juick.username"];
+ self.me = [SAMKeychain passwordForService:[[NSBundle mainBundle] bundleIdentifier] account:@"com.juick.username"];
[self reloadChat];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillChangeFrame:) name:UIKeyboardWillChangeFrameNotification object:nil];
self.refreshControl = [UIRefreshControl new];