From f70c696e5b1ff9ad6ec987a555d9207735ce22fc Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:06:32 +0330 Subject: [PATCH 1/4] docs: fix a typo in a message --- .../Sources/Analytics/FIRIAMClearcutUploader.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseInAppMessaging/Sources/Analytics/FIRIAMClearcutUploader.m b/FirebaseInAppMessaging/Sources/Analytics/FIRIAMClearcutUploader.m index 841cdeee1b3..a1a0646f5f3 100644 --- a/FirebaseInAppMessaging/Sources/Analytics/FIRIAMClearcutUploader.m +++ b/FirebaseInAppMessaging/Sources/Analytics/FIRIAMClearcutUploader.m @@ -177,7 +177,7 @@ - (void)attemptUploading { * Note that there is a chance that the app crashes before we can * call pushRecords: on the logStorage below which means we lost * these log records permanently. This is a trade-off between handling - * duplicate records on server side vs taking the risk of lossing + * duplicate records on server side vs taking the risk of losing * data. This implementation picks the latter. */ FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM260007", From c67bf6b56448bfa7f651f25db097ebafa8c6c222 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:06:51 +0330 Subject: [PATCH 2/4] docs: fix a typo in a message --- .../Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m b/FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m index 4fd7bf8a133..990aea253bb 100644 --- a/FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m +++ b/FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.m @@ -117,7 +117,7 @@ - (void)viewDidLayoutSubviews { // Calculate the size of the image view under the constraints: // 1 Retain the image ratio - // 2 Have at least 30 point of margines around four sides of the image view + // 2 Have at least 30 point of margins around four sides of the image view CGFloat minimalMargine = 30; // 30 points CGFloat maxImageViewWidth = self.view.window.frame.size.width - minimalMargine * 2; From 13dca6bd5462a18e5e5c7dcd767b974e3b1ac53c Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:07:06 +0330 Subject: [PATCH 3/4] docs: fix a typo in multiple comments --- .../Sources/DefaultUI/Modal/FIRIAMModalViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.m b/FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.m index ada6dd089e1..3009e38fc42 100644 --- a/FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.m +++ b/FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.m @@ -296,7 +296,7 @@ - (void)layoutFineTuneInPortraitMode { "with frame height as %lf", heightCalcReference, self.view.window.frame.size.height); - // this makes sure titleLable gets correct width to be ready for later's height estimate for the + // this makes sure titleLabel gets correct width to be ready for later's height estimate for the // text & button column [self.messageCardView layoutIfNeeded]; @@ -403,7 +403,7 @@ - (void)layoutFineTuneInLandscapeMode { self.cardLeadingMarginInLandscapeMode.constant = self.view.window.frame.size.width / 5; } - // this makes sure titleLable gets correct width to be ready for later's height estimate for the + // this makes sure titleLabel gets correct width to be ready for later's height estimate for the // text & button column [self.messageCardView layoutIfNeeded]; From 4083bcb7499907756396a584ff62cee2386ebca5 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:07:37 +0330 Subject: [PATCH 4/4] docs: fix a typo in the readme file --- FirebaseInAppMessaging/Sources/DefaultUI/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseInAppMessaging/Sources/DefaultUI/README.md b/FirebaseInAppMessaging/Sources/DefaultUI/README.md index 872eff63623..c5200f50913 100644 --- a/FirebaseInAppMessaging/Sources/DefaultUI/README.md +++ b/FirebaseInAppMessaging/Sources/DefaultUI/README.md @@ -1,5 +1,5 @@ FirebaseInAppMessagingDisplay is the default UI implementation from Firebase for -rendering In-App Messaging messges to end users. +rendering In-App Messaging messages to end users. Apps can also provide custom UI implementation to replace it. Check out our guides for details.