Skip to content

Commit 48643bf

Browse files
authored
Review FirebaseSessions source files (#13372)
1 parent fef6882 commit 48643bf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

FirebaseSessions/Sources/FirebaseSessions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private enum GoogleDataTransportConfig {
134134
}
135135
}
136136

137-
// Initializes the SDK and begines the process of listening for lifecycle events and logging
137+
// Initializes the SDK and begins the process of listening for lifecycle events and logging
138138
// events
139139
init(appID: String, sessionGenerator: SessionGenerator, coordinator: SessionCoordinatorProtocol,
140140
initiator: SessionInitiator, appInfo: ApplicationInfoProtocol, settings: SettingsProtocol,

FirebaseSessions/Sources/Settings/SessionsSettings.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class SessionsSettings: SettingsProtocol {
4646
}
4747

4848
var sessionsEnabled: Bool {
49-
// Order of precendence LocalOverrides > Remote Settings > SDK Defaults
49+
// Order of precedence LocalOverrides > Remote Settings > SDK Defaults
5050
if let sessionEnabled = localOverrides.sessionsEnabled {
5151
return sessionEnabled
5252
} else if let sessionEnabled = remoteSettings.sessionsEnabled {
@@ -56,7 +56,7 @@ class SessionsSettings: SettingsProtocol {
5656
}
5757

5858
var sessionTimeout: TimeInterval {
59-
// Order of precendence LocalOverrides > Remote Settings > SDK Defaults
59+
// Order of precedence LocalOverrides > Remote Settings > SDK Defaults
6060
if let sessionTimeout = localOverrides.sessionTimeout {
6161
return sessionTimeout
6262
} else if let sessionTimeout = remoteSettings.sessionTimeout {
@@ -66,7 +66,7 @@ class SessionsSettings: SettingsProtocol {
6666
}
6767

6868
var samplingRate: Double {
69-
// Order of precendence LocalOverrides > Remote Settings > SDK Defaults
69+
// Order of precedence LocalOverrides > Remote Settings > SDK Defaults
7070
if let samplingRate = localOverrides.samplingRate {
7171
return samplingRate
7272
} else if let samplingRate = remoteSettings.samplingRate {

FirebaseSessions/Sources/Settings/SettingsDownloadClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protocol SettingsDownloadClient {
2626
}
2727

2828
enum SettingsDownloaderError: Error {
29-
/// Error contructing the URL
29+
/// Error constructing the URL
3030
case URLError(String)
3131
/// Error from the URLSession task
3232
case URLSessionError(String)

0 commit comments

Comments
 (0)