mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Simplified custom tabs color scheme
This commit is contained in:
@@ -1290,12 +1290,9 @@ public class Helper {
|
||||
}
|
||||
} else {
|
||||
int colorPrimary = resolveColor(context, androidx.appcompat.R.attr.colorPrimary);
|
||||
int colorPrimaryDark = resolveColor(context, androidx.appcompat.R.attr.colorPrimaryDark);
|
||||
|
||||
CustomTabColorSchemeParams.Builder schemes = new CustomTabColorSchemeParams.Builder()
|
||||
.setToolbarColor(colorPrimary)
|
||||
.setSecondaryToolbarColor(colorPrimaryDark)
|
||||
.setNavigationBarColor(colorPrimaryDark);
|
||||
.setToolbarColor(colorPrimary);
|
||||
|
||||
// https://developer.chrome.com/multidevice/android/customtabs
|
||||
CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder()
|
||||
|
||||
Reference in New Issue
Block a user