typo error

This commit is contained in:
Thomas 2020-10-07 09:25:41 +02:00
parent 4d7c7e88bb
commit c4b49b58cf
3 changed files with 4 additions and 6 deletions

View File

@ -240,8 +240,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
playInMinimized = false; playInMinimized = false;
} }
if (mode != Helper.VIDEO_MODE_WEBVIEW && mode != Helper.VIDEO_MODE_NORMAL)
mode = Helper.VIDEO_MODE_NORMAL;
if (mode == Helper.VIDEO_MODE_WEBVIEW) { if (mode == Helper.VIDEO_MODE_WEBVIEW) {
webview_video.setVisibility(View.VISIBLE); webview_video.setVisibility(View.VISIBLE);
playerView.setVisibility(View.GONE); playerView.setVisibility(View.GONE);

View File

@ -73,8 +73,8 @@ public class Helper {
public static final String SET_VIDEO_MODE = "set_video_mode"; public static final String SET_VIDEO_MODE = "set_video_mode";
public static final String SET_QUALITY_MODE = "set_quality_mode"; public static final String SET_QUALITY_MODE = "set_quality_mode";
public static final int VIDEO_MODE_NORMAL = 0; public static final int VIDEO_MODE_NORMAL = 0;
public static final int VIDEO_MODE_STREAMING = 1; public static final int VIDEO_MODE_STREAMING = 2;
public static final int VIDEO_MODE_WEBVIEW = 2; public static final int VIDEO_MODE_WEBVIEW = 1;
public static final int QUALITY_HIGH = 0; public static final int QUALITY_HIGH = 0;
public static final int QUALITY_MEDIUM = 1; public static final int QUALITY_MEDIUM = 1;
public static final int QUALITY_LOW = 2; public static final int QUALITY_LOW = 2;

View File

@ -1,7 +1,7 @@
files: files:
- source: /app/src/full/res/values/strings.xml - source: /app/src/full/res/values/strings.xml
translation: /app/src/full/res/values-%two_letters_code%/%original_file_name% translation: /app/src/full/res/values-%two_letters_code%/%original_file_name%
update_option: update_without_changes #update_option: update_without_changes
languages_mapping: languages_mapping:
two_letters_code: two_letters_code:
zh-TW: zh-rTW zh-TW: zh-rTW