mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Bug Fix: Messages - Wait for the end of action before hiding swipe menu #52
This commit is contained in:
@@ -154,29 +154,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)isRoomNotifiedAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
MXRoom* room = [self getRoomAtIndexPath:indexPath];
|
||||
|
||||
if (room)
|
||||
{
|
||||
return !room.areRoomNotificationsMuted;
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)muteRoomNotifications:(BOOL)mute atIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
MXRoom* room = [self getRoomAtIndexPath:indexPath];
|
||||
|
||||
// sanity check
|
||||
if (room)
|
||||
{
|
||||
[room toggleRoomNotifications:mute];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)refreshRoomsSectionsAndReload
|
||||
{
|
||||
// Refresh is disabled during drag&drop animation"
|
||||
|
||||
Reference in New Issue
Block a user