Merge pull request #134 from donetick/bugfixes-07-09-2026
Update NFC URL generation for iOS and fix Crowdin file patterns
This commit is contained in:
@@ -6,6 +6,6 @@ api_token_env: CROWDIN_API_TOKEN
|
||||
preserve_hierarchy: true
|
||||
|
||||
files:
|
||||
- source: /public/locales/en/**/*.json
|
||||
translation: /public/locales/%two_letters_code%/**/%original_file_name%
|
||||
- source: /public/locales/en/*.json
|
||||
translation: /public/locales/%two_letters_code%/%original_file_name%
|
||||
update_option: update_as_unapproved
|
||||
|
||||
@@ -6,7 +6,7 @@ import TextModal from '../../Modals/Inputs/TextModal'
|
||||
import WriteNFCModal from '../../Modals/Inputs/WriteNFCModal'
|
||||
|
||||
const getNFCUrl = choreId =>
|
||||
Capacitor.getPlatform() === 'android'
|
||||
Capacitor.getPlatform() === 'android' || Capacitor.getPlatform() === 'ios'
|
||||
? `donetick://chores/${choreId}`
|
||||
: `${window.location.origin}/chores/${choreId}`
|
||||
|
||||
@@ -77,7 +77,6 @@ const ChoreModals = ({
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
{activeModal === 'nudge' && modalChore && (
|
||||
<NudgeModal
|
||||
config={{
|
||||
|
||||
Reference in New Issue
Block a user