Get rid of push animation on restoring article on launch.

This commit is contained in:
Brent Simmons committed 2026-01-28 10:46:20 -08:00
1 parent d878606377
commit 1289201dbd
1 file changed
+4 -1
+4 -1
View File
@@ -412,7 +412,10 @@ struct SidebarItemNode: Hashable, Sendable {
articleID: articleSpecifier.articleID)
if let article {
selectArticle(article, isShowingExtractedArticle: stateInfo.isShowingExtractedArticle, articleWindowScrollY: stateInfo.articleWindowScrollY)
// Disable animation since this function runs only during state restoration on launch.
UIView.performWithoutAnimation {
selectArticle(article, isShowingExtractedArticle: stateInfo.isShowingExtractedArticle, articleWindowScrollY: stateInfo.articleWindowScrollY)
}
}
}