mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-20 10:43:22 +00:00
Fix missing localozation strings for custom LED blink pattern.
This commit is contained in:
@@ -82,7 +82,7 @@ public class LedBlinkPatternListPreference extends ListPreference implements OnS
|
||||
private void initializeDialog(View view) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
builder.setIcon(android.R.drawable.ic_dialog_info);
|
||||
builder.setTitle("Set Custom LED Blink Pattern");
|
||||
builder.setTitle(R.string.preferences__pref_led_blink_custom_pattern_title);
|
||||
builder.setView(view);
|
||||
builder.setOnCancelListener(new CustomDialogCancelListener());
|
||||
builder.setNegativeButton(android.R.string.cancel, new CustomDialogCancelListener());
|
||||
@@ -154,7 +154,7 @@ public class LedBlinkPatternListPreference extends ListPreference implements OnS
|
||||
dialogInProgress = false;
|
||||
|
||||
TextSecurePreferences.setNotificationLedPatternCustom(context, pattern);
|
||||
Toast.makeText(context, "Custom LED blink pattern set!", Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(context, R.string.preferences__pref_led_blink_custom_pattern_set, Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user