mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-05 21:41:35 +01:00
Improve code style (IOS-271)
This commit is contained in:
parent
ad8d5e6e69
commit
199a6624e8
@ -141,7 +141,7 @@ public struct MastodonAuthentication: Codable, Hashable, UserIdentifier {
|
||||
@MainActor
|
||||
func updating(instanceV2 instance: Mastodon.Entity.V2.Instance) -> Self {
|
||||
guard
|
||||
let instanceConfiguration = self.instanceConfiguration,
|
||||
let instanceConfiguration,
|
||||
case let InstanceConfiguration.v2(_, translationLanguages) = instanceConfiguration
|
||||
else {
|
||||
return copy(instanceConfiguration: .v2(instance, [:]))
|
||||
|
Loading…
Reference in New Issue
Block a user