Skip to content

Commit

Permalink
Resolve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Dec 16, 2024
1 parent 496d1ab commit cb8ca91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebaseRemoteConfig/SwiftNew/ConfigSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,12 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
/// Updates the metadata table with the current fetch status.
/// @param fetchSuccess True if fetch was successful.
@objc public func updateMetadata(withFetchSuccessStatus fetchSuccess: Bool,
templateVersion: String) {
templateVersion: String?) {
RCLog.debug("I-RCN000056", "Updating metadata with fetch result.")
updateFetchTime(success: fetchSuccess)
_lastFetchStatus = fetchSuccess ? .success : .failure
_lastFetchError = RemoteConfigError(fetchSuccess ? .unknown : .internalError)
if fetchSuccess {
if fetchSuccess, let templateVersion {
updateLastFetchTimeInterval(Date().timeIntervalSince1970)
// Note: We expect the googleAppID to always be available.
_deviceContext = Device.remoteConfigDeviceContext(with: _googleAppID)
Expand Down

0 comments on commit cb8ca91

Please sign in to comment.