From 20593c7b153ea2553997f79761ef54dd80834d05 Mon Sep 17 00:00:00 2001 From: IntegratedQuantum Date: Thu, 6 Aug 2026 20:34:08 +0200 Subject: [PATCH] Add more info to the first Account setup screen and put save as file first --- src/gui/windows/authentication/create_account_general_info.zig | 3 ++- .../windows/authentication/create_account_storage_method.zig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/windows/authentication/create_account_general_info.zig b/src/gui/windows/authentication/create_account_general_info.zig index 21693614d2..698e7cb70d 100644 --- a/src/gui/windows/authentication/create_account_general_info.zig +++ b/src/gui/windows/authentication/create_account_general_info.zig @@ -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); diff --git a/src/gui/windows/authentication/create_account_storage_method.zig b/src/gui/windows/authentication/create_account_storage_method.zig index 623dc37df4..6fc2a35824 100644 --- a/src/gui/windows/authentication/create_account_storage_method.zig +++ b/src/gui/windows/authentication/create_account_storage_method.zig @@ -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();