Skip to content

Commit 90eb6d5

Browse files
authored
Docs: enhance firebase in app messaging comments (#13790)
1 parent 5df5663 commit 90eb6d5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

FirebaseInAppMessaging/Sources/Analytics/FIRIAMClearcutUploader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ - (void)attemptUploading {
177177
* Note that there is a chance that the app crashes before we can
178178
* call pushRecords: on the logStorage below which means we lost
179179
* these log records permanently. This is a trade-off between handling
180-
* duplicate records on server side vs taking the risk of lossing
180+
* duplicate records on server side vs taking the risk of losing
181181
* data. This implementation picks the latter.
182182
*/
183183
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM260007",

FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ - (void)viewDidLayoutSubviews {
117117

118118
// Calculate the size of the image view under the constraints:
119119
// 1 Retain the image ratio
120-
// 2 Have at least 30 point of margines around four sides of the image view
120+
// 2 Have at least 30 point of margins around four sides of the image view
121121

122122
CGFloat minimalMargine = 30; // 30 points
123123
CGFloat maxImageViewWidth = self.view.window.frame.size.width - minimalMargine * 2;

FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ - (void)layoutFineTuneInPortraitMode {
296296
"with frame height as %lf",
297297
heightCalcReference, self.view.window.frame.size.height);
298298

299-
// this makes sure titleLable gets correct width to be ready for later's height estimate for the
299+
// this makes sure titleLabel gets correct width to be ready for later's height estimate for the
300300
// text & button column
301301
[self.messageCardView layoutIfNeeded];
302302

@@ -403,7 +403,7 @@ - (void)layoutFineTuneInLandscapeMode {
403403
self.cardLeadingMarginInLandscapeMode.constant = self.view.window.frame.size.width / 5;
404404
}
405405

406-
// this makes sure titleLable gets correct width to be ready for later's height estimate for the
406+
// this makes sure titleLabel gets correct width to be ready for later's height estimate for the
407407
// text & button column
408408
[self.messageCardView layoutIfNeeded];
409409

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FirebaseInAppMessagingDisplay is the default UI implementation from Firebase for
2-
rendering In-App Messaging messges to end users.
2+
rendering In-App Messaging messages to end users.
33

44
Apps can also provide custom UI implementation to replace it. Check out our guides
55
for details.

0 commit comments

Comments
 (0)