style(macos): fix swiftformat lint

This commit is contained in:
Peter Steinberger
2026-01-20 16:19:37 +00:00
parent 8c666666ef
commit 844ff2ee8f
5 changed files with 13 additions and 12 deletions

View File

@@ -263,7 +263,7 @@ final class ChannelsStore {
func orderedChannelIds() -> [String] {
if let meta = self.snapshot?.channelMeta, !meta.isEmpty {
return meta.map { $0.id }
return meta.map(\.id)
}
return self.snapshot?.channelOrder ?? []
}