Skip to content

Commit

Permalink
Merge pull request #920 from tchapgouv/919-la-liste-des-salons-se-fig…
Browse files Browse the repository at this point in the history
…e-si-on-quitte-un-salon-depuis-le-glissement-sur-la-cellule

La liste des salons se fige si on quitte un salon depuis le glissemen…
  • Loading branch information
NicolasBuquet authored Nov 13, 2023
2 parents d88d069 + fac9116 commit 3fbed20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Riot/Modules/Common/Recents/RecentsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,9 @@ - (nullable UISwipeActionsConfiguration *)tableView:(UITableView *)tableView tra
title:title
handler:^(UIContextualAction * _Nonnull action, __kindof UIView * _Nonnull sourceView, void (^ _Nonnull completionHandler)(BOOL)) {
[self leaveEditedRoom];

self->editedRoomId = nil; // Tchap: Reset editedRoomId else UI content does not refresh anymore.

completionHandler(YES);
}];
leaveAction.backgroundColor = actionBackgroundColor;
Expand Down
1 change: 1 addition & 0 deletions changelog.d/919.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
La liste des salons se fige si on quitte un salon depuis le glissement sur la cellule

0 comments on commit 3fbed20

Please sign in to comment.