fix: satisfy swiftformat lint (#852) (thanks @mneves75)

This commit is contained in:
Peter Steinberger
2026-01-15 06:36:25 +00:00
parent 6bcb89cf38
commit 66de8aedeb
2 changed files with 3 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
### Fixes
- Browser: add tests for snapshot labels/efficient query params and labeled image responses.
- macOS: ensure launchd log directory exists with a test-only override. (#909) — thanks @roshanasingh4.
- macOS: format ConnectionsStore config to satisfy SwiftFormat lint. (#852) — thanks @mneves75.
- Packaging: run `pnpm build` on `prepack` so npm publishes include fresh `dist/` output.
- Telegram: register dock native commands with underscores to avoid `BOT_COMMAND_INVALID` (#929, fixes #901) — thanks @grp06.
- Google: downgrade unsigned thinking blocks before send to avoid missing signature errors.

View File

@@ -37,7 +37,8 @@ extension ConnectionsStore {
private func resolveChannelConfig(_ snap: ConfigSnapshot, key: String) -> [String: AnyCodable]? {
if let channels = snap.config?["channels"]?.dictionaryValue,
let entry = channels[key]?.dictionaryValue {
let entry = channels[key]?.dictionaryValue
{
return entry
}
return snap.config?[key]?.dictionaryValue