mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Custom tabs improvements
This commit is contained in:
@@ -472,8 +472,10 @@ public class Helper {
|
||||
builder.setToolbarColor(resolveColor(context, R.attr.colorPrimary));
|
||||
builder.setSecondaryToolbarColor(resolveColor(context, R.attr.colorPrimaryDark));
|
||||
builder.setColorScheme(Helper.isDarkTheme(context)
|
||||
? CustomTabsIntent.COLOR_SCHEME_DARK : CustomTabsIntent.COLOR_SCHEME_LIGHT);
|
||||
builder.addDefaultShareMenuItem();
|
||||
? CustomTabsIntent.COLOR_SCHEME_DARK
|
||||
: CustomTabsIntent.COLOR_SCHEME_LIGHT);
|
||||
builder.setDefaultShareMenuItemEnabled(true);
|
||||
builder.setUrlBarHidingEnabled(true);
|
||||
|
||||
CustomTabsIntent customTabsIntent = builder.build();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user