This commit is contained in:
arm64v8a 2023-07-03 09:40:34 +09:00
parent 5d450b798a
commit 6ce48ec4bf
2 changed files with 5 additions and 3 deletions

View File

@ -140,8 +140,10 @@ class TrafficLooper
var mainTx = 0L
var mainRx = 0L
tagMap.forEach { (_, it) ->
if (!it.ignore) {
mainTxRate += it.txRate
mainRxRate += it.rxRate
}
mainTx += it.tx - it.txBase
mainRx += it.rx - it.rxBase
}

View File

@ -557,7 +557,7 @@ object RawUpdater : GroupUpdater() {
proxies.forEach {
it.initializeDefaultValues()
if (it is StandardV2RayBean) {
if (it.realityPubKey.isNotBlank() && it.utlsFingerprint.isBlank()) {
if (!it.realityPubKey.isNullOrBlank() && it.utlsFingerprint.isNullOrBlank()) {
it.utlsFingerprint = globalClientFingerprint
}
}