╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │229 switch (any_repo) { │ │230 inline else => |*opened| { │ │231 // local mode: bring the event db up to date with the events branch │ │232 - if (session.local != null) try evt.consume(.repo, repo_kind, opened.self_repo_opts, io, gpa, opened, evt.events_ref, &.{}); │ │232 + if (session.local != null) try evt.consume(.local, .repo, repo_kind, opened.self_repo_opts, io, gpa, opened, evt.events_ref, &.{}); │ │233 const files_data = try Files.init(repo_kind, opened.self_repo_opts, arena, opened, io, gpa, location, requested_ref_or_oid, requested_ref_value, files_dir, files_line);│ │234 const target_branch = if (files_data.ref_or_oid == .branch) files_data.ref_or_oid_value else ""; │ │235 break :blk .{ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │359 try stack.children.put(allocator, settings_view.getFocus().id, .{ .home_settings = settings_view });│ │360 } │ │361 │ │362 - if (!session.data.is_local) { │ │362 + if (session.data.host_kind == .server) { │ │363 var auth_view = try Auth.View.init(allocator, &data.auth, session); │ │364 errdefer auth_view.deinit(allocator); │ │365 try stack.children.put(allocator, auth_view.getFocus().id, .{ .home_auth = auth_view }); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯