Skip to content

Commit

Permalink
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 authored Oct 23, 2023
1 parent 574289f commit 5a4b419
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 5a4b419

Please sign in to comment.