summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/DialogsViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-03 13:57:59 +0300
committerGravatar Vitaly Takmazov2019-10-03 13:57:59 +0300
commit19675633bce3dc7f7e4ff9712eff3938065e868c (patch)
treeeb088364c54b7836d0cfb2a236c4d1390d25c93f /Juick/ViewControllers/DialogsViewController.m
parent1ab588689c96a78db887b53b3ffbc489a092f9ac (diff)
Clear chat selection on appear
Diffstat (limited to 'Juick/ViewControllers/DialogsViewController.m')
-rw-r--r--Juick/ViewControllers/DialogsViewController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Juick/ViewControllers/DialogsViewController.m b/Juick/ViewControllers/DialogsViewController.m
index 0ac22df..0b7f2ca 100644
--- a/Juick/ViewControllers/DialogsViewController.m
+++ b/Juick/ViewControllers/DialogsViewController.m
@@ -24,6 +24,8 @@
- (void)viewWillAppear:(BOOL)animated {
self.navigationController.visibleViewController.title = self.title;
+ NSIndexPath *tableSelection = [self.tableView indexPathForSelectedRow];
+ [self.tableView deselectRowAtIndexPath:tableSelection animated:NO];
}
- (void) refreshData {