Skip to content

Commit 4bb6b23

Browse files
committed
Fix home icon dancing
1 parent dd5cbd4 commit 4bb6b23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apple/InlineIOS/Main/HomeToolbarContent.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ struct HomeToolbarContent: ToolbarContent {
5252
.font(.title3)
5353
.fontWeight(.semibold)
5454
.contentTransition(.numericText())
55+
.animation(.spring(duration: 0.5), value: getStatusText(apiState))
56+
.animation(.spring(duration: 0.5), value: shouldShow)
5557
}
56-
.animation(.spring(duration: 0.5), value: getStatusText(apiState))
57-
.animation(.spring(duration: 0.5), value: shouldShow)
5858
}
5959

6060
.onAppear {

apple/InlineIOS/Main/HomeView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct HomeView: View {
4545
if !searchResults.isEmpty {
4646
searchResultsView
4747
} else if home.chats.isEmpty {
48-
EmptyHomeView()
48+
EmptyHomeView()
4949
} else {
5050
List {
5151
if !home.spaces.isEmpty {

0 commit comments

Comments
 (0)