Updated custom tabs

This commit is contained in:
M66B
2019-09-14 13:30:34 +02:00
parent 43302faf72
commit 2e14454e8d
2 changed files with 14 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ public class Helper {
} else {
// https://developer.chrome.com/multidevice/android/customtabs
CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
builder.setNavigationBarColor(resolveColor(context, R.attr.colorPrimaryDark));
builder.setToolbarColor(resolveColor(context, R.attr.colorPrimary));
CustomTabsIntent customTabsIntent = builder.build();