╭ changed ────────╮ │src/ui/widget.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────╮ │65 patch_source: ui.Repo.Patches.Source, │ │66 home_about: ui.Home.About.View, │ │67 home_users: ui.Home.Users.View, │ │68 - home_repos: ui.Home.Repos.View, │ │68 auth_tab: ui.Home.Header.AuthTab.View,│ │69 home_settings: ui.Home.Settings.View, │ │70 home_auth: ui.Home.Auth.View, │ ╰──────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │111 // whether moving up should return to the page header │ │112 pub fn atTop(self: *Widget, root_focus: *Focus) bool { │ │113 return switch (self.*) { │ │115 - inline .home_about, .home_users, .home_repos, .flow_box_scroll, .home_settings, .auth_login, .auth_logout, .quit, .repo_files, .repo_commits, .diff_view, .repo_refs, .repo_issues, .repo_patches, .repo_discussions, .repo_events, .repo_undo => |*view| view.atTop(),│ │114 + inline .home_about, .home_users, .flow_box_scroll, .home_settings, .auth_login, .auth_logout, .quit, .repo_files, .repo_commits, .diff_view, .repo_refs, .repo_issues, .repo_patches, .repo_discussions, .repo_events, .repo_undo => |*view| view.atTop(), │ │115 inline .home_auth, .repo_patch_detail => |*view| view.atTop(root_focus), │ │116 else => false, │ │117 }; │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯