╭ changed ──────╮ │src/ui/User.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │114 │ │115 // build the header first so we can grab the repos-tab id for the auth │ │116 // view (it focuses there after login). │ │117 - var repos_tab_id: usize = undefined; │ │117 { │ │118 var header_view = try Header.View.init(allocator, &data.header, session);│ │119 errdefer header_view.deinit(allocator); │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │121 - repos_tab_id = header_view.tab_ids.keys()[0]; │ │120 try box.children.put(allocator, header_view.getFocus().id, .{ .widget = .{ .user_header = header_view }, .rect = null, .min_size = null });│ │121 } │ │122 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │160 } │ │161 │ │162 { │ │165 - var auth_view = try Auth.View.init(allocator, &data.auth, session, repos_tab_id); │ │163 + var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │164 errdefer auth_view.deinit(allocator); │ │165 try stack.children.put(allocator, auth_view.getFocus().id, .{ .home_auth = auth_view });│ │166 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯