╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2731 │ │2732 if (comptime supports_drafts) { │ │2733 const source = formWidget(form, .patch_source) orelse return error.MissingFormField;│ │2734 - const source_branch = switch (source.selected) { │ │2734 + const source_branch = switch (source.selectedKind()) { │ │2735 .fork => null, │ │2736 .branch => try source.field().text(allocator), │ │2737 }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ │2876 .description = try aa.dupe(u8, description), │ │2877 .target_branch = try aa.dupe(u8, target_branch), │ │2878 .source_branch = if (source) |value| try value.field().text(aa) else "",│ │2879 - .source_kind = if (source) |value| value.selected else .fork, │ │2879 + .source_kind = if (source) |value| value.selectedKind() else .fork, │ │2880 } else .{ │ │2881 .title = try aa.dupe(u8, title), │ │2882 .tags = try aa.dupe(u8, tags), │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯