Fix syntax error

This commit is contained in:
blank X 2022-07-11 11:57:20 +07:00
parent eb1bdcd7c9
commit 16e521253f
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class ShareActivity extends Activity {
}
if (urlParsed.getHost() == null || (urlParsed.getHost() != "youtube.com" &&
urlParsed.getHost().endsWith(".youtube.com")) {
urlParsed.getHost().endsWith(".youtube.com"))) {
Toast.makeText(getApplicationContext(), R.string.non_youtube_url,
Toast.LENGTH_SHORT).show();
return;