summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/ViewControllers')
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m2
-rw-r--r--Juick/ViewControllers/MessagesViewController.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m
index b15001c..c027ea7 100644
--- a/Juick/ViewControllers/DiscoverViewController.m
+++ b/Juick/ViewControllers/DiscoverViewController.m
@@ -68,7 +68,7 @@ AppDelegate *appDelegate;
}
ThreadViewController *threadVC = (ThreadViewController *)segue.destinationViewController;
[threadVC setPath:[APIClient threadUrl]];
- [threadVC setParams:[@{@"mid": mid } mutableCopy]];
+ [threadVC setParams:@{@"mid": mid }];
[threadVC refreshData:scrollToEnd];
}
}
diff --git a/Juick/ViewControllers/MessagesViewController.h b/Juick/ViewControllers/MessagesViewController.h
index 548f8ec..9f47b57 100644
--- a/Juick/ViewControllers/MessagesViewController.h
+++ b/Juick/ViewControllers/MessagesViewController.h
@@ -10,7 +10,7 @@
@interface MessagesViewController : UITableViewController
@property(nonatomic, strong) NSString *path;
-@property(nonatomic, strong) NSMutableDictionary *params;
+@property(nonatomic, strong) NSDictionary *params;
-(void) refreshData;
-(void) refreshData:(BOOL)scrollToBottom;