mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 00:57:02 +05:30
urllauncher: request dark theme from sites
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
da13725bea
commit
20e45d4d42
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ class UrlLauncherImpl(private val context: Context) : UrlLauncher {
|
||||||
val customTabsIntent = CustomTabsIntent.Builder()
|
val customTabsIntent = CustomTabsIntent.Builder()
|
||||||
.setShareState(CustomTabsIntent.SHARE_STATE_ON)
|
.setShareState(CustomTabsIntent.SHARE_STATE_ON)
|
||||||
.setShowTitle(true)
|
.setShowTitle(true)
|
||||||
|
.setColorScheme(CustomTabsIntent.COLOR_SCHEME_DARK)
|
||||||
.build()
|
.build()
|
||||||
customTabsIntent.launchUrl(context, Uri.parse(url))
|
customTabsIntent.launchUrl(context, Uri.parse(url))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue