mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
White Spaces fix
This commit is contained in:
parent
6ab4520927
commit
163e840c12
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
|||
private void openWebBrowser(String url) {
|
||||
Intent browser = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
|
||||
//check if web browser available
|
||||
if(browser.resolveActivity(getActivity().getPackageManager()) != null){
|
||||
if (browser.resolveActivity(getActivity().getPackageManager()) != null) {
|
||||
startActivity(browser);
|
||||
} else {
|
||||
Toast toast = Toast.makeText(getContext(), getString(R.string.no_web_browser), LENGTH_SHORT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue