diff options
author | Vitaly Takmazov | 2019-10-03 13:57:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-10-03 13:57:59 +0300 |
commit | 19675633bce3dc7f7e4ff9712eff3938065e868c (patch) | |
tree | eb088364c54b7836d0cfb2a236c4d1390d25c93f | |
parent | 1ab588689c96a78db887b53b3ffbc489a092f9ac (diff) |
Clear chat selection on appear
-rw-r--r-- | Juick/ViewControllers/DialogsViewController.m | 2 |
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 { |