diff --git a/AIProject/iCo/Features/Dashboard/View/TopCoinListView.swift b/AIProject/iCo/Features/Dashboard/View/TopCoinListView.swift index b5aace94..6399963d 100644 --- a/AIProject/iCo/Features/Dashboard/View/TopCoinListView.swift +++ b/AIProject/iCo/Features/Dashboard/View/TopCoinListView.swift @@ -100,19 +100,8 @@ struct TopCoinListSection: View { .foregroundColor(.iCoAccent) .padding(.trailing, 16) - CachedAsyncImage(resource: .symbol(coin.coinSymbol)) { - Text(String(coin.coinSymbol.prefix(1))) - .font(.ico17Sb) - .foregroundStyle(.iCoAccent) - .frame(maxWidth: .infinity, maxHeight: .infinity) - .background(.iCoBackgroundAccent) - .overlay( - Circle().strokeBorder(.defaultGradient, lineWidth: 0.5) - ) - } - .frame(width: 40, height: 40) - .clipShape(Circle()) - .padding(.trailing, 8) + CoinView(symbol: coin.coinSymbol, size: 40) + .padding(.trailing, 8) VStack(alignment: .leading, spacing: 8) { Text(viewModel.koreanName(for: coin.id)) diff --git a/AIProject/iCo/Features/Dashboard/ViewModel/TopCoinListViewModel.swift b/AIProject/iCo/Features/Dashboard/ViewModel/TopCoinListViewModel.swift index 13fc0141..3d03a2b1 100644 --- a/AIProject/iCo/Features/Dashboard/ViewModel/TopCoinListViewModel.swift +++ b/AIProject/iCo/Features/Dashboard/ViewModel/TopCoinListViewModel.swift @@ -60,7 +60,7 @@ final class TopCoinListViewModel: ObservableObject { let targetIDs = Array(Set(topVolumeIDs + topRateIDs)) guard !Task.isCancelled else { return } - + try? await Task.sleep(for: .seconds(2)) await withTaskGroup(of: Void.self) { group in for id in targetIDs { group.addTask {