@@ -45,20 +46,51 @@ const Utilities = () => {

{accountingMood ? (
-
-
+
- حسـابـداری
+ با اشتراک حسـابـداری
+
+ مدیریت آسان درآمدها و هزینهها
+
+
+
+
+ خرید اشتراک
+
+
+
+

+
+
+
+ ) : (
+
- ) : (
-
-
-
-
-
- حسـابـداری
-
-
-
-
- ثبت درآمد
-
-
-
- ثبت هزینه
-
-
-
-
-
-
-
-
- صورت حساب
-
-
-
)}
diff --git a/src/main.tsx b/src/main.tsx
index 8f5e1b64..4d703c98 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -2,6 +2,11 @@
import { createRoot } from "react-dom/client";
import App from "./App.tsx";
+window.requestAnimationFrame(() => {
+ const el = document.getElementById('initial-bg');
+ if (el) el.remove();
+});
+
createRoot(document.getElementById("root")!).render(
// For sms auto fill I had to remove the StrictMode
// https://stackoverflow.com/questions/75242951/domexception-signal-is-aborted-without-reason-in-useeffect-with-async-call
diff --git a/vite.config.ts b/vite.config.ts
index 8c583d21..1105cc32 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -12,12 +12,13 @@ export default defineConfig({
srcDir: "src",
filename: "sw.js",
registerType: "autoUpdate",
- injectRegister: false,
+ injectRegister: 'auto',
+ // injectRegister: false,
manifest: {
name: "Salona",
short_name: "Salona",
- theme_color: '#000000',
- // "background_color": "#96E6B3",
+ theme_color: 'rgb(171,37,192)',
+ background_color: "rgb(171,37,192)",
dir: "rtl",
lang: "fa",
description: "Salona is a platform to provide innovative tools to hairdressers and beauty salons.",