From f22e7b666785d4d72028f434af082567524b13d6 Mon Sep 17 00:00:00 2001 From: Nuo Xu Date: Fri, 17 Nov 2023 15:08:22 +0800 Subject: [PATCH] remove animation in detail header text --- Sources/BraveWallet/Crypto/NFT/NFTDetailView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/BraveWallet/Crypto/NFT/NFTDetailView.swift b/Sources/BraveWallet/Crypto/NFT/NFTDetailView.swift index 623d5bd4cd3..ce42df78091 100644 --- a/Sources/BraveWallet/Crypto/NFT/NFTDetailView.swift +++ b/Sources/BraveWallet/Crypto/NFT/NFTDetailView.swift @@ -103,6 +103,10 @@ struct NFTDetailView: View { Text(nftDetailStore.nft.name) .foregroundColor(Color(.secondaryBraveLabel)) } + .transaction { transaction in + transaction.animation = nil + transaction.disablesAnimations = true + } } .listRowInsets(.zero) .listRowBackground(Color.clear)