commit d9fa13d3d371f7bdc88b5c06fe71fa80fc98428b
parent 90e920e800de6f017afa677f8eddc5659a7fa22d
Author: FIGBERT <figbert@figbert.com>
Date: Thu, 15 Sep 2022 11:24:38 -0700
Make seekEndOfHistory seek recursively
Without recursion it... didn't work. And I didn't notice.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Shared/HistoryView.swift b/Shared/HistoryView.swift
@@ -36,7 +36,7 @@ struct HistoryView: View {
}
func seekEndOfHistory(_ tab: Tab) -> Tab {
if let next = tab.next {
- return next
+ return seekEndOfHistory(next)
} else {
return tab
}