Fix syntax error
This commit is contained in:
parent
eb1bdcd7c9
commit
16e521253f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue