mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Disable codecov/patch (#202)
This commit is contained in:
@@ -242,7 +242,7 @@ struct Settings_Previews: PreviewProvider {
|
||||
mediaProvider: MockMediaProvider())
|
||||
let viewModel = SettingsViewModel(withUserSession: userSession)
|
||||
|
||||
return NavigationView {
|
||||
NavigationView {
|
||||
SettingsScreen(context: viewModel.context)
|
||||
.previewInterfaceOrientation(.portrait)
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ extension MatrixRustSDK.NoticeMessageContent: FormattedMessageContentProtocol {
|
||||
/// the `msgtype` would likely contain a formatted body.
|
||||
extension MessageTimelineItem where Content: FormattedMessageContentProtocol {
|
||||
var htmlBody: String? {
|
||||
#warning("Should this check the formatted type?")
|
||||
guard content.formatted?.format == .html else { return nil }
|
||||
return content.formatted?.body
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user