Skip to content

Commit

Permalink
Merge pull request #1139 from Infomaniak/fix-folder-switch-ios-15
Browse files Browse the repository at this point in the history
fix: Ensure proper refresh on iOS 15 (also more correct > iOS 15)
  • Loading branch information
valentinperignon committed Nov 23, 2023
2 parents 441fd23 + e6cca8c commit e05eafd
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 e05eafd

Please sign in to comment.