diff --git a/src/app/(frontend)/account/actions.ts b/src/app/(frontend)/account/actions.ts
index 5f9d519..4817b65 100644
--- a/src/app/(frontend)/account/actions.ts
+++ b/src/app/(frontend)/account/actions.ts
@@ -205,6 +205,7 @@ export async function updatePreferences(input: {
mutedTypes: string[];
showCallsign: boolean;
showVersionOverlay: boolean;
+ showBackgroundTexture: boolean;
leadOrActual: "lead" | "actual";
discordEnabled: boolean;
discordMutedTypes: string[];
@@ -221,7 +222,7 @@ export async function updatePreferences(input: {
(MUTEABLE_NOTIFICATION_VALUES as readonly string[]).includes(t),
);
- await payload.update({
+ await payload.update({
collection: "users",
id: userId,
data: {
@@ -230,6 +231,7 @@ export async function updatePreferences(input: {
display: {
showCallsign: input.showCallsign,
showVersionOverlay: input.showVersionOverlay,
+ showBackgroundTexture: input.showBackgroundTexture,
leadOrActual: input.leadOrActual,
xpDisplayMini: input.xpDisplayMini,
},
diff --git a/src/app/(frontend)/account/page.tsx b/src/app/(frontend)/account/page.tsx
index 064e0db..75ebb67 100644
--- a/src/app/(frontend)/account/page.tsx
+++ b/src/app/(frontend)/account/page.tsx
@@ -81,24 +81,25 @@ export default async function AccountPage() {
-
-
- Preferences
- Control in-app notifications and display options.
-
-
-
-
-
+
+
+ Preferences
+ Control in-app notifications and display options.
+
+
+
+
+
);
diff --git a/src/app/(frontend)/layout.tsx b/src/app/(frontend)/layout.tsx
index fde806f..5d63d16 100644
--- a/src/app/(frontend)/layout.tsx
+++ b/src/app/(frontend)/layout.tsx
@@ -133,7 +133,13 @@ export default async function RootLayout(props: { children: React.ReactNode }) {
preferences={user.preferences}
className="border-r"
/>
-
+
{impersonating && }
{children}
@@ -156,11 +162,7 @@ export default async function RootLayout(props: { children: React.ReactNode }) {
{user && }
{isLogistics && }
-
+