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:
Mohamad Tarbin
2026-07-10 01:45:58 -04:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -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={{