╭ changed ──────────╮ │src/ui/Settings.zig│ ╰───────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │28 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │29 const logged_in = session.data.user_id != null; │ │30 │ │31 - var box = wgt.Box(ui.Widget).init(.{ .border_style = null, .rounded_corners = true, .direction = .vert }); │ │31 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .rounded_corners = true, .direction = .vert });│ │32 errdefer box.deinit(allocator); │ │33 // when logged in, the toggle posts to a page-scoped /ansi path so the │ │34 // server sends us back to this page's settings tab; logged out, the │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯