From 5778c80835b633f8ce7a49c3c29602ba79cf2a56 Mon Sep 17 00:00:00 2001 From: Marie Denis Date: Tue, 11 Jun 2024 11:53:10 +0200 Subject: [PATCH] RUM-4151 Address nit --- .../Sources/SRFixtures/ViewControllers/TabbarControllers.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DatadogSessionReplay/SRSnapshotTests/SRFixtures/Sources/SRFixtures/ViewControllers/TabbarControllers.swift b/DatadogSessionReplay/SRSnapshotTests/SRFixtures/Sources/SRFixtures/ViewControllers/TabbarControllers.swift index caaade9074..103ac32b29 100644 --- a/DatadogSessionReplay/SRSnapshotTests/SRFixtures/Sources/SRFixtures/ViewControllers/TabbarControllers.swift +++ b/DatadogSessionReplay/SRSnapshotTests/SRFixtures/Sources/SRFixtures/ViewControllers/TabbarControllers.swift @@ -14,7 +14,7 @@ public class TabbarViewControllers: UIViewController { for tabbar in tabbars { // Select the first tabbar's item // so we can see both a selected and unselected item - tabbar.selectedItem = tabbar.items?[0] + tabbar.selectedItem = tabbar.items?.first } } }