mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-28 08:39:09 +00:00
Make VideoPlayer toast error message translatable
Closes #6150 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
8bf160532e
commit
9c1f7f1657
@@ -60,7 +60,7 @@ public class VideoPlayer extends FrameLayout {
|
||||
Log.w(TAG, "Playing video directly from non-local Uri...");
|
||||
this.videoView.setVideoURI(videoSource.getUri());
|
||||
} else {
|
||||
Toast.makeText(getContext(), "Error playing video...", Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(getContext(), getContext().getString(R.string.VideoPlayer_error_playing_video), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user