mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Get rid of push animation on restoring article on launch.
This commit is contained in:
1 parent
d878606377
commit
1289201dbd
1 file changed
+4
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user