Skip to content

Commit

Permalink
Fix some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Apr 13, 2022
1 parent 0a92018 commit 9d4e8f4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ extern NSString *const kMXKRoomDataSourceTimelineErrorErrorKey;
@param latitude the location's latitude
@param longitude the location's longitude
@param description an optional description
@param assetType the location's type
@param coordinateType the location's type
@param success A block object called when the operation succeeds. It returns
the event id of the event generated on the homeserver
@param failure A block object called when the operation fails.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ final class SpaceMemberDetailCoordinator: NSObject, SpaceMemberDetailCoordinator
init(parameters: SpaceMemberDetailCoordinatorParameters) {
self.parameters = parameters

let spaceMemberDetailViewModel = SpaceMemberDetailViewModel(userSessionsService: parameters.userSessionsService, session: parameters.session, member: parameters.member, spaceId: parameters.spaceId, showCancelMenuItem: parameters.showCancelMenuItem)
let spaceMemberDetailViewModel = SpaceMemberDetailViewModel(userSessionsService: parameters.userSessionsService,
session: parameters.session,
member: parameters.member,
spaceId: parameters.spaceId,
showCancelMenuItem: parameters.showCancelMenuItem)
let spaceMemberDetailViewController = SpaceMemberDetailViewController.instantiate(with: spaceMemberDetailViewModel)
spaceMemberDetailViewController.enableMention = true
spaceMemberDetailViewController.enableVoipCall = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import MatrixSDK

/// ThreadsBetaCoordinatorBridgePresenter enables to start ThreadsBetaCoordinator from a view controller.
/// This bridge is used while waiting for global usage of coordinator pattern.
/// **WARNING**: This class breaks the Coordinator abstraction and it has been introduced for **Objective-C compatibility only** (mainly for integration in legacy view controllers). Each bridge should be removed once the underlying Coordinator has been integrated by another Coordinator.
/// **WARNING**: This class breaks the Coordinator abstraction and it has been introduced for **Objective-C compatibility only** (mainly for integration in legacy view controllers).
/// Each bridge should be removed once the underlying Coordinator has been integrated by another Coordinator.
@objcMembers
final class ThreadsBetaCoordinatorBridgePresenter: NSObject {

Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-6032.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix some warnings.

0 comments on commit 9d4e8f4

Please sign in to comment.