╭ changed ──────╮ │src/ui/Quit.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────╮ │22 │ │23 pub const View = struct {│ │24 center: ui.Center, │ │25 - data: *const Self, │ │25 session: *ui.Session,│ │26 button_id: usize, │ │27 │ ╰─────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │29 - pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │28 + pub fn init(allocator: std.mem.Allocator, session: *ui.Session) !View { │ │29 var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .rounded_corners = true, .direction = .vert });│ │30 errdefer box.deinit(allocator); │ │31 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │55 box.getFocus().child_id = button_id; │ │56 │ │57 return .{ │ │59 - .center = try ui.Center.init(allocator, .{ .box = box }, .both),│ │60 - .data = data, │ │58 + .center = try ui.Center.init(allocator, .{ .box = box }), │ │59 .session = session, │ │60 .button_id = button_id, │ │61 }; │ ╰────────────────────────────────────────────────────────────────────────────────╯