Skip to content

Commit

Permalink
fix: Make sheet animate away on nav to more (#499)
Browse files Browse the repository at this point in the history
* fix: Make sheet animate away on nav to more

* fix: Tweak made by text
  • Loading branch information
EmmaSimon authored Oct 29, 2024
1 parent ea168ae commit 22cd61e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion iosApp/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ struct ContentView: View {
} else {
mapSection
.sheet(
isPresented: .constant(!(searchObserver.isSearching && nav == .nearby)),
isPresented: .constant(
!(searchObserver.isSearching && nav == .nearby)
&& selectedTab == .nearby
),
content: {
GeometryReader { proxy in
VStack {
Expand Down
2 changes: 1 addition & 1 deletion iosApp/iosApp/Pages/More/MorePage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct MorePage: View {
}
HStack(alignment: .center, spacing: 16) {
Image(.mbtaLogo).resizable().frame(width: 64, height: 64)
Text("Made with ♥ in Boston, for Boston").font(Typography.callout)
Text("Made with ♥ by the T").font(Typography.callout)
}
}
.padding(.horizontal, 16)
Expand Down

0 comments on commit 22cd61e

Please sign in to comment.