Skip to content

Commit

Permalink
fix(ios): config bug from swiftlint refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Jul 29, 2020
1 parent 26afae6 commit ace879f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Capacitor/Capacitor/CAPConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
}

@objc public func getValue(_ key: String) -> Any? {
let key = getConfigKey(key)
let deepestKey = getConfigKey(key)
let object = getConfigObjectDeepest(key: key)
return object?[key] ?? nil
return object?[deepestKey] ?? nil
}

@objc public func getString(_ key: String) -> String? {
Expand Down

0 comments on commit ace879f

Please sign in to comment.