Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ fn next() void {
pub fn onOpen() void {
const list = VerticalList.init(.{padding, 16 + padding}, 300, 16);
const width = 420;
list.add(Label.init(.{0, 0}, width, "An Account Code acts as a password and identity.", .left));
list.add(Label.init(.{0, 0}, width, "Cubyz does not store any of your personal data on a server. This makes account setup a bit unusual. Please continue carefully to make sure you don't lose access.", .left));
list.add(Label.init(.{0, 0}, width, "We will give you an Account Code which acts as a password and identity.", .left));
list.add(Label.init(.{0, 0}, width, "If you lose your Account Code, you lose your Account. There are no recovery options, so please store it somewhere safe.", .left));
button = Button.initText(.{0, 0}, 300, "Continue (8)", .{.onAction = .init(next), .disabled = true});
list.add(button);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ fn next(storageMethod: usize) void {
pub fn onOpen() void {
const list = VerticalList.init(.{padding, 16 + padding}, 300, 16);
list.add(Label.init(.{0, 0}, 300, "Please select how you would like to store your Account Code", .left));
list.add(Button.initText(.{0, 0}, 300, "Password Manager (recommended)", .{.onAction = .initWithInt(next, @intFromEnum(StorageMethod.passwordManager))}));
list.add(Button.initText(.{0, 0}, 300, "Save as file", .{.onAction = .initWithInt(next, @intFromEnum(StorageMethod.file))}));
list.add(Button.initText(.{0, 0}, 300, "Password Manager (recommended)", .{.onAction = .initWithInt(next, @intFromEnum(StorageMethod.passwordManager))}));
list.add(Button.initText(.{0, 0}, 300, "Write it down yourself", .{.onAction = .initWithInt(next, @intFromEnum(StorageMethod.paper))}));
list.finish(.center);
window.rootComponent = list.toComponent();
Expand Down