Skip to content

Commit 92f03e0

Browse files
authored
fix(remote_config): correct lastFetchTime calculation (#18004)
1 parent f715b45 commit 92f03e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public class FirebaseRemoteConfigPlugin: NSObject, FlutterPlugin, FlutterStreamH
262262
[
263263
"fetchTimeout": Int(config.configSettings.fetchTimeout),
264264
"minimumFetchInterval": Int(config.configSettings.minimumFetchInterval),
265-
"lastFetchTime": Int(config.lastFetchTime?.timeIntervalSince1970 ?? 0 * 1000),
265+
"lastFetchTime": Int((config.lastFetchTime?.timeIntervalSince1970 ?? 0) * 1000),
266266
"lastFetchStatus": mapFetchStatus(config.lastFetchStatus),
267267
]
268268
}

0 commit comments

Comments
 (0)