Skip to content

Commit

Permalink
Rename const
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed May 27, 2024
1 parent 95b7266 commit ecef61b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package net.mullvad.mullvadvpn.constant

const val GRPC_SOCKET_FILE = "rpc-socket"
const val GRPC_SOCKET_FILE_NAME = "rpc-socket"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.mullvad.mullvadvpn.di

import kotlinx.coroutines.MainScope
import net.mullvad.mullvadvpn.constant.GRPC_SOCKET_FILE
import net.mullvad.mullvadvpn.constant.GRPC_SOCKET_FILE_NAME
import net.mullvad.mullvadvpn.lib.daemon.grpc.ManagementService
import net.mullvad.mullvadvpn.lib.intent.BuildConfig
import net.mullvad.mullvadvpn.lib.intent.IntentProvider
Expand All @@ -14,7 +14,7 @@ import org.koin.dsl.module
val appModule = module {
single {
ManagementService(
rpcSocketPath = "${androidContext().dataDir.path}/$GRPC_SOCKET_FILE",
rpcSocketPath = "${androidContext().dataDir.path}/$GRPC_SOCKET_FILE_NAME",
extensiveLogging = BuildConfig.DEBUG,
scope = MainScope(),
)
Expand Down

0 comments on commit ecef61b

Please sign in to comment.