diff --git a/app/build.gradle b/app/build.gradle index 3e803a7d3d..f49b29d023 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -173,7 +173,10 @@ dependencies { def coordinatorlayout_version = "1.1.0-beta01" def constraintlayout_version = "2.0.0-beta2" def material_version = "1.1.0-alpha10" - def browser_version = "1.0.0" + def browser_version = "1.2.0-alpha07" + def lbm_version = "1.0.0" + def swiperefresh_version = "1.0.0" + def documentfile_version = "1.0.1" def lifecycle_version = "2.1.0" def room_version = "2.2.0-beta01" def paging_version = "2.1.0" @@ -219,6 +222,15 @@ dependencies { // https://mvnrepository.com/artifact/androidx.browser/browser implementation "androidx.browser:browser:$browser_version" + // https://mvnrepository.com/artifact/androidx.localbroadcastmanager/localbroadcastmanager + implementation "androidx.localbroadcastmanager:localbroadcastmanager:$lbm_version" + + // https://mvnrepository.com/artifact/androidx.swiperefreshlayout/swiperefreshlayout + implementation "androidx.swiperefreshlayout:swiperefreshlayout:$swiperefresh_version" + + // https://mvnrepository.com/artifact/androidx.documentfile/documentfile + implementation "androidx.documentfile:documentfile:$documentfile_version" + // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-livedata // https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-livedata-core diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index 13b0401cdf..d2a85430ee 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -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();