╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │79 try stack.children.put(allocator, repos_view.getFocus().id, .{ .home_repos = repos_view }); │ │80 } │ │81 │ │82 - { │ │82 + // the header has no settings tab without a login, so keep the │ │83 + // stack's children 1:1 with the tabs by skipping the view too │ │84 + if (session.data.user_id != null) { │ │85 var settings_view = try Settings.View.init(allocator, session); │ │86 errdefer settings_view.deinit(allocator); │ │87 try stack.children.put(allocator, settings_view.getFocus().id, .{ .home_settings = settings_view });│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯