Update copy for help fragmemt.

This commit is contained in:
Alex Hart 2021-11-04 09:04:49 -03:00 committed by Greyson Parrelli
parent f73b8a7fd2
commit 87b699f3d8
2 changed files with 4 additions and 4 deletions

View file

@ -93,7 +93,7 @@ public class HelpFragment extends LoggingFragment {
emoji.add(view.findViewById(feeling.getViewId()));
}
categoryAdapter = ArrayAdapter.createFromResource(requireContext(), R.array.HelpFragment__categories_2, android.R.layout.simple_spinner_item);
categoryAdapter = ArrayAdapter.createFromResource(requireContext(), R.array.HelpFragment__categories_3, android.R.layout.simple_spinner_item);
categoryAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
categorySpinner.setAdapter(categoryAdapter);
@ -209,7 +209,7 @@ public class HelpFragment extends LoggingFragment {
suffix.append(getString(feeling.getStringId()));
}
String[] englishCategories = ResourceUtil.getEnglishResources(requireContext()).getStringArray(R.array.HelpFragment__categories_2);
String[] englishCategories = ResourceUtil.getEnglishResources(requireContext()).getStringArray(R.array.HelpFragment__categories_3);
String category = (helpViewModel.getCategoryIndex() >= 0 && helpViewModel.getCategoryIndex() < englishCategories.length) ? englishCategories[helpViewModel.getCategoryIndex()]
: categoryAdapter.getItem(helpViewModel.getCategoryIndex()).toString();

View file

@ -2291,7 +2291,7 @@
<string name="HelpFragment__debug_log">Debug Log:</string>
<string name="HelpFragment__could_not_upload_logs">Could not upload logs</string>
<string name="HelpFragment__please_be_as_descriptive_as_possible">Please be as descriptive as possible to help us understand the issue.</string>
<string-array name="HelpFragment__categories_2">
<string-array name="HelpFragment__categories_3">
<item>-- Please select an option --</item>
<item>Something\'s Not Working</item>
<item>Feature Request</item>
@ -2299,7 +2299,7 @@
<item>Feedback</item>
<item>Other</item>
<item>Payments (MobileCoin)</item>
<item>Donations (Sustainers &amp; Signal Boost)</item>
<item>Sustainers &amp; Signal Boost</item>
</string-array>
<!-- ReactWithAnyEmojiBottomSheetDialogFragment -->