From 0db10bf7d0ca663171d10437c8d3365ecd4272d6 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 2 Mar 2024 10:08:10 +0800 Subject: [PATCH] More adaptive copy --- src/components/shortcuts-settings.jsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/shortcuts-settings.jsx b/src/components/shortcuts-settings.jsx index d2e82a8..4d6a474 100644 --- a/src/components/shortcuts-settings.jsx +++ b/src/components/shortcuts-settings.jsx @@ -392,7 +392,11 @@ function ShortcutsSettings({ onClose }) { ) : (
-

No shortcuts yet. Tap on the Add shortcut button.

+

+ {snapStates.settings.shortcutsViewMode === 'multi-column' + ? 'No columns yet. Tap on the Add column button.' + : 'No shortcuts yet. Tap on the Add shortcut button.'} +

Not sure what to add?
@@ -419,7 +423,9 @@ function ShortcutsSettings({ onClose }) { )}

{shortcuts.length >= SHORTCUTS_LIMIT && - `Max ${SHORTCUTS_LIMIT} shortcuts`} + (snapStates.settings.shortcutsViewMode === 'multi-column' + ? `Max ${SHORTCUTS_LIMIT} columns` + : `Max ${SHORTCUTS_LIMIT} shortcuts`)}