Skip to content

Commit

Permalink
fix: rename IPv6Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Nov 14, 2024
1 parent 7b7927e commit ae68487
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/com/muedsa/tvbox/api/plugin/TvBoxContext.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.muedsa.tvbox.api.plugin

import com.muedsa.tvbox.api.store.IPluginPerfStore
import com.muedsa.tvbox.tool.NetworkUtils
import com.muedsa.tvbox.tool.IPv6Checker

data class TvBoxContext(
val screenWidth: Int, // TV屏幕宽度dp
val screenHeight: Int, // TV屏幕高度dp
val debug: Boolean, // debug模式
val store: IPluginPerfStore, // 插件PrefStore
val iPv6Status: NetworkUtils.IPv6Status // IPv6状态
val iPv6Status: IPv6Checker.IPv6Status // IPv6状态
)
2 changes: 1 addition & 1 deletion api/src/main/java/com/muedsa/tvbox/tool/IPv6Checker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.net.InetSocketAddress
import java.net.NetworkInterface
import java.net.Socket

object NetworkUtils {
object IPv6Checker {

private val HOSTS = listOf(
// Google DNS
Expand Down

0 comments on commit ae68487

Please sign in to comment.