Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DemoApp/FeedsView/Mentions/CommandsHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ extension CommandHandler {
}

/// Model for the composer's commands.
public struct ComposerCommand {
public struct ComposerCommand: Sendable {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest Xcode changes I forgot to fix in the demo app

/// Identifier of the command.
public let id: String
/// Typing suggestion that invokes the command.
Expand Down Expand Up @@ -124,7 +124,7 @@ public struct SuggestionInfo: @unchecked Sendable {
}

/// Display information about a command.
public struct CommandDisplayInfo {
public struct CommandDisplayInfo: Sendable {
public let displayName: String
public let icon: UIImage
public let format: String
Expand Down
2 changes: 1 addition & 1 deletion DemoApp/FeedsView/Mentions/TypingSuggester.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public struct TypingSuggestionOptions {
}

/// A structure that contains the information of the typing suggestion.
public struct TypingSuggestion {
public struct TypingSuggestion: Sendable {
/// A String representing the currently typing text.
public let text: String
/// A NSRange that stores the location of the typing suggestion in relation with the whole input.
Expand Down
7 changes: 7 additions & 0 deletions DemoApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,12 @@
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
Loading