Skip to content

Commit

Permalink
fix: Ensure proper refresh on iOS 15 (also more correct > iOS 15)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Nov 23, 2023
1 parent 441fd23 commit e6cca8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mail/Views/ThreadListManagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ struct ThreadListManagerView: View {
ZStack {
if mainViewState.isShowingSearch {
SearchView(mailboxManager: mailboxManager, folder: mainViewState.selectedFolder)
.id(threadListViewHash)
} else {
ThreadListView(
mailboxManager: mailboxManager,
folder: mainViewState.selectedFolder,
isCompact: isCompactWindow
)
.id(threadListViewHash)
}
}
.id(threadListViewHash)
.animation(.easeInOut(duration: 0.25), value: mainViewState.isShowingSearch)
}
}
Expand Down

0 comments on commit e6cca8c

Please sign in to comment.