feat: redesign navigation bar

This commit is contained in:
2024-01-10 13:57:44 +07:00
parent f2504071cd
commit a5ad4fe05c
17 changed files with 274 additions and 197 deletions

View File

@@ -140,6 +140,8 @@ export function CreateAccountScreen() {
return toast.error("Failed to create new account, try again later");
}
authWindow.close();
// add account to storage
await storage.createSetting("nsecbunker", "1");
await storage.createAccount({
@@ -162,8 +164,6 @@ export function CreateAccountScreen() {
setOnboarding(true);
setIsLoading(false);
authWindow.close();
return navigate("/auth/onboarding");
} catch (e) {
setIsLoading(false);