╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────╮ │129 // each header tab maps 1:1 to a stack child by position │ │130 if (header.getSelectedIndex()) |index| { │ │131 stack.getFocus().child_id = stack.children.keys()[index];│ │132 + self.session.data.current_page = switch (index) { │ │133 + 0 => .home_users, │ │134 + 1 => .home_repos, │ │135 + 2 => .home_auth, │ │136 + else => .home_users, │ │137 + }; │ │138 } │ │139 try self.box.build(allocator, constraint, root_focus); │ │140 } │ ╰──────────────────────────────────────────────────────────────────────────╯