From 19ec2648c5d6b4c27204bee5e394e0f058ea14ad Mon Sep 17 00:00:00 2001 From: mtasota Date: Tue, 21 Jan 2020 15:06:09 -0500 Subject: [PATCH] Change sharing activity to be 'Invite a Friend' and new prompt (resolves #98) --- android/app/src/main/assets/DbSeed.json | 2 +- .../coping_skill_static/ShareCopingSkillActivity.java | 2 +- android/app/src/main/res/values/strings.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/app/src/main/assets/DbSeed.json b/android/app/src/main/assets/DbSeed.json index fb1163b5..5b1a10ca 100755 --- a/android/app/src/main/assets/DbSeed.json +++ b/android/app/src/main/assets/DbSeed.json @@ -21,7 +21,7 @@ { "uuid": "coping_skill_15", "name": "Parent Video" }, - { "uuid": "coping_skill_6", "name": "Share", "imageFileUuid": "ic_share" }, + { "uuid": "coping_skill_6", "name": "Invite a Friend", "imageFileUuid": "ic_share" }, { "uuid": "coping_skill_10", "name": "Squeeze", "imageFileUuid": "ic_balloon_squeeze" }, { "uuid": "coping_skill_2", "name": "Static Coping Skill", "imageFileUuid": "ic_yoga" }, { "uuid": "coping_skill_7", "name": "Rock and Twist", "imageFileUuid": "ic_stretch2_rock_and_twist" }, diff --git a/android/app/src/main/java/org/cmucreatelab/android/flutterprek/activities/student_section/coping_skills/coping_skill_static/ShareCopingSkillActivity.java b/android/app/src/main/java/org/cmucreatelab/android/flutterprek/activities/student_section/coping_skills/coping_skill_static/ShareCopingSkillActivity.java index 04b95bc8..1587a866 100644 --- a/android/app/src/main/java/org/cmucreatelab/android/flutterprek/activities/student_section/coping_skills/coping_skill_static/ShareCopingSkillActivity.java +++ b/android/app/src/main/java/org/cmucreatelab/android/flutterprek/activities/student_section/coping_skills/coping_skill_static/ShareCopingSkillActivity.java @@ -7,7 +7,7 @@ public class ShareCopingSkillActivity extends StaticCopingSkillActivity { @Override public String getAudioFileForCopingSkillTitle() { - return "etc/audio_prompts/audio_share.wav"; + return "etc/audio_prompts/audio_invite_a_friend.wav"; } diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index fa65bc4e..ce28819b 100755 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -41,7 +41,7 @@ Squeeze the squeezer until you feel in control. Let\'s do some jumping jacks! Slowly wave the wand to make the music play. - Happiness is nice to share. Do you see someone who could use a happy friend right now? Invite them to play with you! + Invite a friend to play with you! Talk to your teacher about how you are feeling. Do you need more time? Re-enter password to access teacher settings.