mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Bug Fix: Messages - Wait for the end of action before hiding swipe menu #52
This commit is contained in:
@@ -458,7 +458,7 @@
|
||||
|
||||
if ([updatedItemsDict objectForKey:@"ROOM_SECTION_MUTE_NOTIFICATIONS"])
|
||||
{
|
||||
[mxRoom toggleRoomNotifications:roomNotifSwitch.on];
|
||||
[mxRoom setMute:roomNotifSwitch.on completion:nil];
|
||||
[updatedItemsDict removeObjectForKey:@"ROOM_SECTION_MUTE_NOTIFICATIONS"];
|
||||
[self onSave:nil];
|
||||
}
|
||||
@@ -567,7 +567,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
roomNotifSwitch.on = mxRoom.areRoomNotificationsMuted;
|
||||
roomNotifSwitch.on = mxRoom.isMute;
|
||||
}
|
||||
|
||||
cell = roomNotifCell;
|
||||
@@ -770,9 +770,9 @@
|
||||
{
|
||||
NSMutableDictionary* dict = [self getUpdatedItemsDict];
|
||||
|
||||
if (roomNotifSwitch.on == mxRoom.areRoomNotificationsMuted)
|
||||
if (roomNotifSwitch.on == mxRoom.isMute)
|
||||
{
|
||||
[dict removeObjectForKey:@"ROOM_SECTION_MUTE_NOTIFICATIONS"];
|
||||
[dict removeObjectForKey:@"ROOM_SECTION_MUTE_NOTIFICATIONS"];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user