Change to have 1 item shared
This commit is contained in:
parent
e942bbfe15
commit
3459e067b3
@ -90,12 +90,8 @@ public extension ClientParameterHandler {
|
||||
}
|
||||
}
|
||||
return try await withCheckedThrowingContinuation({ continuation in
|
||||
do {
|
||||
try getParameters(with: model, requestParameters: requestParameters, actionId: actionId) { parameters in
|
||||
continuation.resume(returning: parameters)
|
||||
}
|
||||
} catch {
|
||||
continuation.resume(throwing: error)
|
||||
getParameters(with: model, requestParameters: requestParameters, actionId: actionId) { parameters in
|
||||
continuation.resume(returning: parameters)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -20,7 +20,7 @@ open class ActionShareHandler: MVMCoreActionHandlerProtocol {
|
||||
shareData = [model.sharedText]
|
||||
case .url:
|
||||
let url = try URL.createURL(with: model.sharedText)
|
||||
shareData = [model.sharedText, url]
|
||||
shareData = [url]
|
||||
}
|
||||
try await shareWith(activityItems: shareData, model: model)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user