From 018f72fbf8d08fb7ec335a21c460a1146a5d6dcd Mon Sep 17 00:00:00 2001 From: minhokim Date: Tue, 17 Sep 2024 13:17:50 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#120=20Perception=20Tracking=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/PokitCategorySettingView.swift | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Projects/Feature/FeatureCategorySetting/Sources/PokitCategorySettingView.swift b/Projects/Feature/FeatureCategorySetting/Sources/PokitCategorySettingView.swift index 16e7aa86..4e92795b 100644 --- a/Projects/Feature/FeatureCategorySetting/Sources/PokitCategorySettingView.swift +++ b/Projects/Feature/FeatureCategorySetting/Sources/PokitCategorySettingView.swift @@ -73,16 +73,18 @@ private extension PokitCategorySettingView { .resizable() .roundedCorner(12, corners: .allCorners) } else { - ZStack { - Color.pokit(.bg(.disable)) - - if store.selectedProfile?.imageURL != nil { - PokitSpinner() - .foregroundStyle(.pokit(.icon(.brand))) - .frame(width: 48, height: 48) + WithPerceptionTracking { + ZStack { + Color.pokit(.bg(.disable)) + + if store.selectedProfile?.imageURL != nil { + PokitSpinner() + .foregroundStyle(.pokit(.icon(.brand))) + .frame(width: 48, height: 48) + } } + .clipShape(RoundedRectangle(cornerRadius: 12)) } - .clipShape(RoundedRectangle(cornerRadius: 12)) } } .frame(width: 80, height: 80)