feat: explicitly enable the share-button in Chrome Custom Tabs (#4223)
Chrome defaults to showing it anyways, but Firefox doesn't. By enabling this feature, users across both browsers will now have the same experience. closes tuskyapp/Tusky/issues/4137
This commit is contained in:
parent
c9f8b043c5
commit
27a610bd48
|
@ -350,6 +350,7 @@ fun openLinkInCustomTab(uri: Uri, context: Context) {
|
||||||
.build()
|
.build()
|
||||||
val customTabsIntent = CustomTabsIntent.Builder()
|
val customTabsIntent = CustomTabsIntent.Builder()
|
||||||
.setDefaultColorSchemeParams(colorSchemeParams)
|
.setDefaultColorSchemeParams(colorSchemeParams)
|
||||||
|
.setShareState(CustomTabsIntent.SHARE_STATE_ON)
|
||||||
.setShowTitle(true)
|
.setShowTitle(true)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue