╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────╮ │13 pub const About = @import("./Home/About.zig"); │ │14 pub const Users = @import("./Home/Users.zig"); │ │15 pub const Header = @import("./Home/Header.zig");│ │16 -pub const Settings = @import("./Settings.zig"); │ │16 pub const Auth = @import("./Auth.zig"); │ │17 pub const Quit = @import("./Quit.zig"); │ │18 │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────╮ │19 header: Header, │ │20 about: About, │ │21 users: Users, │ │23 -settings: Settings,│ │22 auth: Auth, │ │23 quit: Quit, │ │24 │ ╰───────────────────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │36 .header = try Header.init(arena, about.title), │ │37 .about = about, │ │38 .users = try Users.init(arena, haxy_moment, users_route),│ │41 - .settings = Settings.init(), │ │39 .auth = Auth.init(), │ │40 .quit = Quit.init(), │ │41 }; │ ╰─────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │75 try stack.children.put(allocator, users_view.getFocus().id, .{ .home_users = users_view });│ │76 } │ │77 │ │81 - // the header has no new repo or settings tab without a login, so keep the │ │82 - // stack's children 1:1 with the tabs by skipping those views too │ │78 + // the header has no new repo tab without a login, so keep the │ │79 + // stack's children 1:1 with the tabs by skipping that view too │ │80 if (session.data.user_id != null) { │ │81 var new_repo_view = try ui.NewRepo.View.init(allocator, session, .home_new_repo); │ │82 errdefer new_repo_view.deinit(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │83 try stack.children.put(allocator, new_repo_view.getFocus().id, .{ .new_repo = new_repo_view }); │ │84 } │ │85 │ │89 - if (session.data.user_id != null) { │ │90 - var settings_view = try Settings.View.init(allocator, session); │ │91 - errdefer settings_view.deinit(allocator); │ │92 - try stack.children.put(allocator, settings_view.getFocus().id, .{ .home_settings = settings_view });│ │93 - } │ │94 - │ │86 { │ │87 var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │88 errdefer auth_view.deinit(allocator); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯