╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────╮ │24 pub const Comment = @import("./Repo/Comment.zig");│ │25 pub const Undo = @import("./Repo/Undo.zig"); │ │26 pub const Events = @import("./Repo/Events.zig"); │ │27 -pub const Settings = @import("./Settings.zig"); │ │27 pub const Auth = @import("./Auth.zig"); │ │28 pub const Quit = @import("./Quit.zig"); │ │29 │ ╰──────────────────────────────────────────────────────╯ ╭─────────────────────────────╮ │37 discussions: Discussions,│ │38 events: Events, │ │39 undo: ?Undo = null, │ │41 -settings: Settings, │ │40 auth: Auth, │ │41 quit: Quit, │ │42 │ ╰─────────────────────────────╯ ╭─────────────────────────────────────────╮ │362 .discussions = discussions, │ │363 .events = events, │ │364 .undo = undo_data, │ │367 - .settings = Settings.init(),│ │365 .auth = Auth.init(), │ │366 .quit = Quit.init(), │ │367 }; │ ╰─────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │449 try stack.children.put(allocator, undo_view.getFocus().id, .{ .repo_undo = undo_view });│ │450 } │ │451 │ │455 - // the header only shows the new repo and settings tabs with a login │ │452 + // the header only shows the new repo tab with a login │ │453 // and the auth tab outside local mode, so keep the stack's children 1:1 with │ │454 // the tabs by skipping the same views. │ │455 if (session.data.user_id != null) { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │460 try stack.children.put(allocator, new_repo_view.getFocus().id, .{ .new_repo = new_repo_view }); │ │461 } │ │462 │ │466 - if (session.data.user_id != null) { │ │467 - var settings_view = try Settings.View.init(allocator, session); │ │468 - errdefer settings_view.deinit(allocator); │ │469 - try stack.children.put(allocator, settings_view.getFocus().id, .{ .home_settings = settings_view });│ │470 - } │ │471 - │ │463 if (session.data.host_kind == .server) { │ │464 var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │465 errdefer auth_view.deinit(allocator); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯