Update video recording tooltip text.

This commit is contained in:
Greyson Parrelli 2019-10-18 16:43:51 -04:00
parent 8c4757ea02
commit a2204c8370
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@
<string name="CameraActivity_image_save_failure">Failed to save image.</string>
<!-- CameraXFragment -->
<string name="CameraXFragment_video_recording_available">Tap to take a picture, or keep your finger on the capture button to record a video.</string>
<string name="CameraXFragment_tap_for_photo_hold_for_video">Tap for photo, hold for video</string>
<string name="CameraXFragment_capture_description">Capture</string>
<string name="CameraXFragment_change_camera_description">Change camera</string>
<string name="CameraXFragment_open_gallery_description">Open gallery</string>

View file

@ -277,7 +277,7 @@ public class CameraXFragment extends Fragment implements CameraFragment {
.setOnDismissListener(this::neverDisplayVideoRecordingTooltipAgain)
.setBackgroundTint(ContextCompat.getColor(requireContext(), R.color.signal_primary))
.setTextColor(ThemeUtil.getThemedColor(requireContext(), R.attr.conversation_title_color))
.setText(R.string.CameraXFragment_video_recording_available)
.setText(R.string.CameraXFragment_tap_for_photo_hold_for_video)
.show(displayRotation == Surface.ROTATION_0 || displayRotation == Surface.ROTATION_180 ? TooltipPopup.POSITION_ABOVE : TooltipPopup.POSITION_START);
}
}