RoomVC: Handle live location banner display on user location status change.

This commit is contained in:
SBiOSoftWhare
2022-03-28 10:18:59 +02:00
parent 476729e1bc
commit 019af072eb
2 changed files with 26 additions and 43 deletions
+11
View File
@@ -31,6 +31,7 @@
@class UniversalLinkParameters;
@protocol RoomViewControllerDelegate;
@class RoomDisplayConfiguration;
@class LiveLocationSharingBannerView;
NS_ASSUME_NONNULL_BEGIN
@@ -89,6 +90,16 @@ extern NSNotificationName const RoomGroupCallTileTappedNotification;
*/
@property (nonatomic, nullable) NSString *parentSpaceId;
/// Handles all banners that should be displayed at the top of the timeline but that should not scroll with the timeline
@property (weak, nonatomic, nullable) IBOutlet UIStackView *topBannersStackView;
/// Indicate YES to show live location sharing banner
@property (nonatomic, readonly) BOOL shouldShowLiveLocationSharingBannerView;
/// Displayed live location sharing banner if any
@property (nonatomic, weak) LiveLocationSharingBannerView *liveLocationSharingBannerView;
/**
Display the preview of a room that is unknown for the user.