Skip to content

Commit c04db50

Browse files
committed
Fix some warnings.
1 parent 0a92018 commit c04db50

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Riot/Modules/MatrixKit/Models/Room/MXKRoomDataSource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ extern NSString *const kMXKRoomDataSourceTimelineErrorErrorKey;
622622
@param latitude the location's latitude
623623
@param longitude the location's longitude
624624
@param description an optional description
625-
@param assetType the location's type
625+
@param coordinateType the location's type
626626
@param success A block object called when the operation succeeds. It returns
627627
the event id of the event generated on the homeserver
628628
@param failure A block object called when the operation fails.

Riot/Modules/Spaces/SpaceMembers/MemberDetail/SpaceMemberDetailCoordinator.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ final class SpaceMemberDetailCoordinator: NSObject, SpaceMemberDetailCoordinator
5050
init(parameters: SpaceMemberDetailCoordinatorParameters) {
5151
self.parameters = parameters
5252

53-
let spaceMemberDetailViewModel = SpaceMemberDetailViewModel(userSessionsService: parameters.userSessionsService, session: parameters.session, member: parameters.member, spaceId: parameters.spaceId, showCancelMenuItem: parameters.showCancelMenuItem)
53+
let spaceMemberDetailViewModel = SpaceMemberDetailViewModel(userSessionsService: parameters.userSessionsService,
54+
session: parameters.session,
55+
member: parameters.member,
56+
spaceId: parameters.spaceId,
57+
showCancelMenuItem: parameters.showCancelMenuItem)
5458
let spaceMemberDetailViewController = SpaceMemberDetailViewController.instantiate(with: spaceMemberDetailViewModel)
5559
spaceMemberDetailViewController.enableMention = true
5660
spaceMemberDetailViewController.enableVoipCall = false

Riot/Modules/Threads/Beta/ThreadsBetaCoordinatorBridgePresenter.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import MatrixSDK
2626

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

changelog.d/pr-6032.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix some warnings.

0 commit comments

Comments
 (0)