╭ changed ─────────╮ │src/ui/AuthTab.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │18 │ │19 pub const View = struct { │ │20 text_box: wgt.TextBox(ui.Widget), │ │21 - data: *const Self, │ │21 session: *ui.Session, │ │22 │ │24 - pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │23 + pub fn init(allocator: std.mem.Allocator, session: *ui.Session) !View { │ │24 var text_box = try wgt.TextBox(ui.Widget).init(allocator, "login", .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │25 errdefer text_box.deinit(allocator); │ │26 text_box.getFocus().focusable = true; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────╮ │27 text_box.getFocus().kind = .{ .custom = "ai:/auth" };│ │28 return .{ │ │29 .text_box = text_box, │ │31 - .data = data, │ │30 .session = session, │ │31 }; │ │32 } │ ╰─────────────────────────────────────────────────────────────────╯