Provide dark theme parameter.

This commit is contained in:
Benoit Marty 2024-08-29 12:23:39 +02:00
parent cfbd0c4c02
commit 460e095e78
5 changed files with 12 additions and 5 deletions

View file

@ -22,10 +22,11 @@ import timber.log.Timber
fun onSuccessLogout(
activity: Activity,
darkTheme: Boolean,
url: String?,
) {
Timber.d("Success logout with result url: $url")
url?.let {
activity.openUrlInChromeCustomTab(null, false, it)
activity.openUrlInChromeCustomTab(null, darkTheme, it)
}
}