mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Fix various new SDK breaking changes.
This commit is contained in:
committed by
Stefan Ceriu
parent
ffe2f726e7
commit
bd49500fa1
@@ -38,7 +38,7 @@ class ReportRoomScreenViewModel: ReportRoomScreenViewModelType, ReportRoomScreen
|
||||
|
||||
private func report() async {
|
||||
showLoadingIndicator()
|
||||
let result = await roomProxy.reportRoom(reason: state.bindings.reason.isEmpty ? nil : state.bindings.reason)
|
||||
let result = await roomProxy.reportRoom(reason: state.bindings.reason.isEmpty ? "" : state.bindings.reason)
|
||||
|
||||
switch result {
|
||||
case .success:
|
||||
|
||||
Reference in New Issue
Block a user