Commit a38b750 1 parent 98862f4 commit a38b750 Copy full SHA for a38b750
File tree 1 file changed +6
-1
lines changed
PocketKit/Sources/PocketKit/Article
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ class ReadableViewController: UIViewController {
43
43
44
44
private var isReloading = false
45
45
46
+ var hasAppearedAfterLoading = false
47
+
46
48
private var userScrollProgress : IndexPath ?
47
49
// Tippable view controller properties
48
50
var tipObservationTask : Task < Void , Error > ?
@@ -353,7 +355,10 @@ class ReadableViewController: UIViewController {
353
355
354
356
override func viewDidAppear( _ animated: Bool ) {
355
357
super. viewDidAppear ( animated)
356
- scrollToLastKnownPosition ( )
358
+ if !hasAppearedAfterLoading {
359
+ scrollToLastKnownPosition ( )
360
+ hasAppearedAfterLoading = true
361
+ }
357
362
// do not vend the tip on syndicated articles
358
363
if readableViewModel is SavedItemViewModel {
359
364
PocketTipEvents . showSwipeHighlightsTip. sendDonation ( )
You can’t perform that action at this time.
0 commit comments