``update Add QR code generation feature with dynamic sizing and styling, implement screen-width-based conditional rendering, update i18n translations, and adjust context providers structure``

This commit is contained in:
2025-05-16 22:51:33 +08:00
parent 62d8519da5
commit 72e478937d
14 changed files with 162 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
import { DEBUG, DEBUG_LINK, QUIZ_MAIN_MENU_LINK, RECORD_LINK, SETTING_LINK } from './constants';
import { DEBUG_LINK, isDevelop, QUIZ_MAIN_MENU_LINK, RECORD_LINK, SETTING_LINK } from './constants';
/* Core CSS required for Ionic components to work properly */
import '@ionic/react/css/core.css';
@@ -139,7 +139,7 @@ const TabButtons: React.FC = () => {
<IonIcon aria-hidden="true" icon={settingsOutline} size="large" />
</IonTabButton>
{DEBUG ? (
{isDevelop ? (
<IonTabButton
tab="debug"
onClick={() => goSwitchPage(DEBUG_LINK)}