From 07d2353230f64097be2680aef5d5cbf459b869c8 Mon Sep 17 00:00:00 2001 From: "emre.kartal" Date: Sat, 3 Feb 2024 14:12:54 +0100 Subject: [PATCH] replace opacite to scale :hammer: --- Sources/AllInApp/AllIn/Views/DailyGiftPage.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/AllInApp/AllIn/Views/DailyGiftPage.swift b/Sources/AllInApp/AllIn/Views/DailyGiftPage.swift index 45b7d11..98db138 100644 --- a/Sources/AllInApp/AllIn/Views/DailyGiftPage.swift +++ b/Sources/AllInApp/AllIn/Views/DailyGiftPage.swift @@ -38,7 +38,7 @@ struct DailyGiftPage: View { switch step { case .first: Image("giftImage") - .transition(.opacity) + .transition(.scale) case .end: ZStack { Image("giftEarnImage") @@ -60,8 +60,8 @@ struct DailyGiftPage: View { case .first: step = .end case .end: - step = .first show.toggle() + step = .first } } }