Minor notification fixes

This commit is contained in:
maskara 2018-03-14 03:42:23 +05:30
parent e5c8e40b76
commit 59abd022e3
2 changed files with 3 additions and 12 deletions

View file

@ -177,7 +177,7 @@ public class Utils {
}
}
public static void handleWebUrl(Context context,Uri url){
public static void handleWebUrl(Context context, Uri url) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, url);
if (browserIntent.resolveActivity(context.getPackageManager()) == null) {
Toast toast = Toast.makeText(context, context.getString(R.string.no_web_browser), LENGTH_SHORT);