mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-18 15:52:24 +01:00
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()
|
||||
val customTabsIntent = CustomTabsIntent.Builder()
|
||||
.setDefaultColorSchemeParams(colorSchemeParams)
|
||||
.setShareState(CustomTabsIntent.SHARE_STATE_ON)
|
||||
.setShowTitle(true)
|
||||
.build()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user