Fix the bloom on the space tab for real. (#4604)
* Actually fix the bloom height for spaces this time 🤦♂️
* Use a better y position.
It's still not great on iPad.
This commit is contained in:
@@ -28,7 +28,7 @@ private struct BloomModifier: ViewModifier {
|
||||
|
||||
@State private var height = CGFloat.zero
|
||||
|
||||
private var endPointY: CGFloat { hasSearchBar ? 0.35 : 0.5 }
|
||||
private var endPointY: CGFloat { hasSearchBar ? 0.35 : 0.55 }
|
||||
|
||||
func body(content: Content) -> some View {
|
||||
content
|
||||
|
||||
@@ -22,7 +22,7 @@ struct SpaceListScreen: View {
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar { toolbar }
|
||||
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
||||
.toolbarBloom(hasSearchBar: true)
|
||||
.toolbarBloom(hasSearchBar: false)
|
||||
.onAppear { context.send(viewAction: .screenAppeared) }
|
||||
.sheet(isPresented: $context.isPresentingFeatureAnnouncement) {
|
||||
SpacesAnnouncementSheetView(context: context)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:693d3360407832dd7d56fcb0ee0fca305b7d8fca5878950725b66b3bdb65fb9c
|
||||
size 188172
|
||||
oid sha256:4dac45352fc5dad424041a59c8b889d435669424d2af52ab7e0f19e4b7ff7027
|
||||
size 197567
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c317151cb714464bf369bcd4e3c2d4a6da687a973a3db244189665bfead9b9f
|
||||
size 221044
|
||||
oid sha256:3674eccc1ffa0bfe0700054e9eebba25d6c237c2a1d00299547db8ed84e7fbab
|
||||
size 230362
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:021b92cad12a1e6efce6f221e293b2c23616b83054b8a9182de8507d0de09e18
|
||||
size 123015
|
||||
oid sha256:473bc5db24637daf751a5dd5e7ca9181cf9267700ec3d7470a72d1d006fb478a
|
||||
size 127725
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6bd8a07cd0fc25b535794ce56320bc83f2454cbfd4796dc2c84175143bb874af
|
||||
size 146189
|
||||
oid sha256:18ead2abdda2ee3cb0c2eba563b287f080c18b01fbda9488598340f6bb6fc79e
|
||||
size 150692
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd4318f95a973ee5279797e46c0c9488a28f34a27821502ad67641afa26f7f39
|
||||
size 289420
|
||||
oid sha256:36e5d1c109d2106669a52f1ee017d6314a830593280d7895442e5bfaf18d8a86
|
||||
size 287350
|
||||
|
||||
Reference in New Issue
Block a user