╭ changed ─────────╮ │src/ui/AuthTab.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────╮ │15 } │ │16 │ │17 pub const View = struct { │ │18 - text_box: wgt.TextBox(ui.Widget), │ │18 + text_box: wgt.TextBox, │ │19 session: *ui.Session, │ │20 // backs the bottom label, which borrows it │ │21 bottom_label_buf: [ui.clipped_bottom_label_max_len]u8,│ ╰──────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │22 │ │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 });│ │24 + var text_box = try wgt.TextBox.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" }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯