Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8166: Wallet Tab Bar (#8287)
Browse files Browse the repository at this point in the history
* Use TabView for wallet instead of page controller.

* Navigation structure updates; each tab has it’s own `NavigationView`. Portfolio navigation bar matches Portfolio background & has no shadow until scrolled.
  • Loading branch information
StephenHeaps committed Oct 23, 2023
1 parent 5392910 commit dd8db90
Show file tree
Hide file tree
Showing 7 changed files with 305 additions and 277 deletions.
8 changes: 1 addition & 7 deletions Sources/BraveUI/SwiftUI/Shimmer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,10 @@ private struct ShimmerViewModifier: ViewModifier {
endPoint: points.1
)
.onAppear {
if #available(iOS 16, *) {
DispatchQueue.main.async { [self] in // Need this due to a SwiftUI bug…
withAnimation(animation) {
points = (.trailing, UnitPoint(x: 2, y: 0.5))
}
} else {
DispatchQueue.main.async { [self] in // Need this due to a SwiftUI bug…
withAnimation(animation) {
points = (.trailing, UnitPoint(x: 2, y: 0.5))
}
}
}
}
}
Expand Down
263 changes: 0 additions & 263 deletions Sources/BraveWallet/Crypto/CryptoPagesView.swift

This file was deleted.

Loading

0 comments on commit dd8db90

Please sign in to comment.