From 6d6048c49cace589aa0f18cd78558c4624696509 Mon Sep 17 00:00:00 2001 From: Serg Date: Sat, 14 Apr 2018 03:00:38 +0700 Subject: [PATCH] build quickfix --- MTMR/ItemsParsing.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MTMR/ItemsParsing.swift b/MTMR/ItemsParsing.swift index 1de608c..f1c5580 100644 --- a/MTMR/ItemsParsing.swift +++ b/MTMR/ItemsParsing.swift @@ -83,7 +83,7 @@ class SupportedTypesHolder { enum CodingKeys: String, CodingKey { case refreshInterval } let container = try decoder.container(keyedBy: CodingKeys.self) let interval = try container.decodeIfPresent(Double.self, forKey: .refreshInterval) - return (item: .brightness(refreshInterval: interval ?? 0.5), action: .none) + return (item: .brightness(refreshInterval: interval ?? 0.5), action: .none, parameters: []) }, "battery": { decoder in enum CodingKeys: String, CodingKey { case refreshInterval }