tweak preference name

This commit is contained in:
adbenitez 2025-09-17 17:52:00 +02:00
parent bee804e095
commit f770f817d0
3 changed files with 3 additions and 3 deletions

View file

@ -210,7 +210,7 @@ public class AdvancedPreferenceFragment extends ListSummaryPreferenceFragment
callsEnabled.setOnPreferenceChangeListener((preference, newValue) -> { callsEnabled.setOnPreferenceChangeListener((preference, newValue) -> {
if ((Boolean)newValue) { if ((Boolean)newValue) {
new AlertDialog.Builder(requireActivity()) new AlertDialog.Builder(requireActivity())
.setTitle("Thanks for trying out \"Video Calls\"!") .setTitle("Thanks for trying out \"Calls\"!")
.setMessage("• You can now call contacts\n\n" .setMessage("• You can now call contacts\n\n"
+ "• If you want to quit the experimental feature, you can disable it at \"Settings / Advanced\"") + "• If you want to quit the experimental feature, you can disable it at \"Settings / Advanced\"")
.setCancelable(false) .setCancelable(false)

View file

@ -369,7 +369,7 @@
<string name="file_saved_to">File saved to \"%1$s\".</string> <string name="file_saved_to">File saved to \"%1$s\".</string>
<string name="start_call">Call</string> <string name="start_call">Call</string>
<string name="video_calls">Video Calls</string> <string name="calls">Calls</string>
<string name="answer_call">Answer</string> <string name="answer_call">Answer</string>
<string name="end_call">Decline</string> <string name="end_call">Decline</string>

View file

@ -23,7 +23,7 @@
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
android:key="pref_calls_enabled" android:key="pref_calls_enabled"
android:title="@string/video_calls"/> android:title="@string/calls"/>
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"