mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-28 18:07:07 +02:00
Moves to disable tor if on the background
This commit is contained in:
@@ -44,7 +44,7 @@ class DualHttpClientManager(
|
||||
factory.buildHttpClient(proxy, mobile, userAgent)
|
||||
}.stateIn(
|
||||
scope,
|
||||
SharingStarted.Lazily,
|
||||
SharingStarted.WhileSubscribed(1000),
|
||||
factory.buildHttpClient(proxyPortProvider.value, isMobileDataProvider.value, userAgent),
|
||||
)
|
||||
|
||||
@@ -54,7 +54,7 @@ class DualHttpClientManager(
|
||||
factory.buildHttpClient(mobile, userAgent)
|
||||
}.stateIn(
|
||||
scope,
|
||||
SharingStarted.Lazily,
|
||||
SharingStarted.WhileSubscribed(1000),
|
||||
factory.buildHttpClient(isMobileDataProvider.value, userAgent),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user