1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-28 01:10:52 +01:00

Update flags

This commit is contained in:
Nayam Amarshe 2023-10-15 11:47:00 +05:30
parent 9886b3f759
commit 788d7c7bd7
2 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -49,4 +49,5 @@ main/*.js
main/utils/*.js main/utils/*.js
.env .env
*.provisionprofile *.provisionprofile
flags.ts

View File

@ -20,6 +20,7 @@ import {
} from "../atoms/userSettingsAtom"; } from "../atoms/userSettingsAtom";
import useLog from "../components/hooks/useLog"; import useLog from "../components/hooks/useLog";
import { UpscaylCloudModal } from "../components/UpscaylCloudModal"; import { UpscaylCloudModal } from "../components/UpscaylCloudModal";
import { FLAGS } from "@/utils/flags";
const Home = () => { const Home = () => {
// STATES // STATES
@ -499,7 +500,7 @@ const Home = () => {
)} )}
{/* HEADER */} {/* HEADER */}
<Header version={version} /> <Header version={version} />
{!dontShowCloudModal && ( {!dontShowCloudModal && !FLAGS.APP_STORE_BUILD && (
<button <button
className="mb-5 rounded-btn p-1 mx-5 bg-success shadow-lg shadow-success/40 text-slate-50 animate-pulse text-sm" className="mb-5 rounded-btn p-1 mx-5 bg-success shadow-lg shadow-success/40 text-slate-50 animate-pulse text-sm"
onClick={() => { onClick={() => {