╭ changed ──────────────────╮ │src/ui/Home/Auth/Logout.zig│ ╰───────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │27 const button_index: usize = 1; │ │28 │ │29 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session, users_tab_id: usize) !View { │ │30 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .rounded_corners = true, .direction = .vert });│ │30 + var box = wgt.Box(ui.Widget).init(.{ .border_style = null, .rounded_corners = true, .direction = .vert }); │ │31 errdefer box.deinit(allocator); │ │32 // marks this subtree as an HTML form scope for the web overlay │ │33 box.getFocus().kind = .{ .custom = "form:/logout" }; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │34 │ │35 { │ │36 - var prompt = wgt.Text(ui.Widget).init(allocator, "are you sure?");│ │36 + var prompt = wgt.Text(ui.Widget).init("are you sure?"); │ │37 errdefer prompt.deinit(allocator); │ │38 try box.children.put(allocator, prompt.getFocus().id, .{ │ │39 .widget = .{ .text = prompt }, │ ╰──────────────────────────────────────────────────────────────────────────────────╯