From fcffe68f9c029603c19564e451a4e8ae3a0cc257 Mon Sep 17 00:00:00 2001 From: El-Fitz <8971906+El-Fitz@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:36:33 +0200 Subject: [PATCH] fix(user-status-vc): update displayed user status when updating user status --- .../UserInterface/UserStatus/UserStatusViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/wire-ios/Wire-iOS/Sources/UserInterface/UserStatus/UserStatusViewController.swift b/wire-ios/Wire-iOS/Sources/UserInterface/UserStatus/UserStatusViewController.swift index 63fe314c8eb..08e9f0b1a8d 100644 --- a/wire-ios/Wire-iOS/Sources/UserInterface/UserStatus/UserStatusViewController.swift +++ b/wire-ios/Wire-iOS/Sources/UserInterface/UserStatus/UserStatusViewController.swift @@ -60,6 +60,7 @@ final class UserStatusViewController: UIViewController { let availabilityChangedHandler = { [weak self] (availability: Availability) in guard let self else { return } + userStatus.availability = availability delegate?.userStatusViewController(self, didSelect: availability) feedbackGenerator.impactOccurred()