mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change to use the user name for status timeline.
This commit is contained in:
@@ -132,9 +132,7 @@ public struct TwitterFeedProvider: FeedProvider {
|
||||
switch result {
|
||||
case .success(let user):
|
||||
if let userName = user.name {
|
||||
let localized = NSLocalizedString("%@ on Twitter", comment: "Twitter Name")
|
||||
let onName = NSString.localizedStringWithFormat(localized as NSString, userName) as String
|
||||
completion(.success(onName))
|
||||
completion(.success(userName))
|
||||
} else {
|
||||
completion(.failure(TwitterFeedProviderError.screenNameNotFound))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user