Change the access to some old screen from the new UI.
This commit is contained in:
parent
1bf0cb7c0a
commit
3941c5dd76
25 changed files with 657 additions and 450 deletions
|
|
@ -34,7 +34,6 @@ import com.pixelized.desktop.lwa.ui.screen.rollhistory.RollHistoryViewModel
|
|||
import com.pixelized.desktop.lwa.usecase.SettingsUseCase
|
||||
import com.pixelized.shared.lwa.model.campaign.factory.CampaignJsonFactory
|
||||
import io.ktor.client.HttpClient
|
||||
import io.ktor.client.engine.HttpClientEngine
|
||||
import io.ktor.client.engine.okhttp.OkHttp
|
||||
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
|
||||
import io.ktor.client.plugins.websocket.WebSockets
|
||||
|
|
@ -56,12 +55,9 @@ val appModuleDependencies
|
|||
|
||||
val toolsDependencies
|
||||
get() = module {
|
||||
single<HttpClientEngine> {
|
||||
OkHttp.create()
|
||||
}
|
||||
single {
|
||||
HttpClient(
|
||||
engine = get()
|
||||
engine = OkHttp.create(),
|
||||
) {
|
||||
install(WebSockets) {
|
||||
pingIntervalMillis = 20_000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue