╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │90 } else if (comptime @hasField(Data.Conflict, "status")) { │ │91 if (std.mem.eql(u8, field, "status")) { │ │92 conflict.status = .{ │ │93 - .ours = .{ .text = @tagName(ours.event.status), .author = our_author }, │ │94 - .theirs = .{ .text = @tagName(theirs.event.status), .author = their_author }, │ │93 + .ours = .{ .text = @tagName(Data.statusKind(ours.event)), .author = our_author }, │ │94 + .theirs = .{ .text = @tagName(Data.statusKind(theirs.event)), .author = their_author },│ │95 }; │ │96 } else if (std.mem.eql(u8, field, "revision")) { │ │97 conflict.revision = .{ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │433 } │ │434 │ │435 fn entryStatus(entry: Entry) Status { │ │436 - return if (has_status) entry.record.event.status else @enumFromInt(0);│ │436 + if (comptime has_status) return Data.statusKind(entry.record.event); │ │437 + return @enumFromInt(0); │ │438 } │ │439 │ │440 fn entryDraft(entry: Entry) bool { │ ╰───────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │1286 } │ │1287 │ │1288 fn entryStatus(entry: Entry) Status { │ │1288 - return if (has_status) entry.record.event.status else @enumFromInt(0);│ │1289 + if (comptime has_status) return Data.statusKind(entry.record.event); │ │1290 + return @enumFromInt(0); │ │1291 } │ │1292 │ │1293 fn entryDraft(entry: Entry) bool { │ ╰────────────────────────────────────────────────────────────────────────────────────────╯