From 2096d45333ab3491e6566faa087b3c5dd9053c11 Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Fri, 30 Oct 2026 14:48:23 -0400 Subject: [PATCH] feat(mobile): let admins create accounts --- .../mobile/app/(app)/(tabs)/home/settings.tsx | 7 +- apps/mobile/app/(app)/_layout.tsx | 12 ++ apps/mobile/app/(app)/create-account.tsx | 191 ++++++++++++++++++ 3 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 apps/mobile/app/(app)/create-account.tsx diff --git a/apps/mobile/app/(app)/(tabs)/home/settings.tsx b/apps/mobile/app/(app)/(tabs)/home/settings.tsx index 27e053b..f158fd0 100644 --- a/apps/mobile/app/(app)/(tabs)/home/settings.tsx +++ b/apps/mobile/app/(app)/(tabs)/home/settings.tsx @@ -3,6 +3,7 @@ import { useAction, useMutation, useQuery } from "convex/react" import { Image } from "expo-image" import * as ImagePicker from "expo-image-picker" import { useState } from "react" +import { router } from "expo-router" import { Platform, Pressable, @@ -459,7 +460,7 @@ function UsersSection({ void setDisableCreation({ disabled: checked }).catch( @@ -473,6 +474,10 @@ function UsersSection({ title="People" subtitle="Manage who can access this server." > +