mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Continue fixing concurrency warnings.
This commit is contained in:
@@ -29,7 +29,7 @@ final class SendToMicroBlogCommand: SendToCommand {
|
||||
return true
|
||||
}
|
||||
|
||||
func sendObject(_ object: Any?, selectedText: String?) {
|
||||
@MainActor func sendObject(_ object: Any?, selectedText: String?) {
|
||||
|
||||
guard canSendObject(object, selectedText: selectedText) else {
|
||||
return
|
||||
@@ -60,7 +60,7 @@ final class SendToMicroBlogCommand: SendToCommand {
|
||||
|
||||
private extension Article {
|
||||
|
||||
var attributionString: String {
|
||||
@MainActor var attributionString: String {
|
||||
|
||||
// Feed name, or feed name + author name (if author is specified per-article).
|
||||
// Includes trailing space.
|
||||
|
||||
Reference in New Issue
Block a user