File tree Expand file tree Collapse file tree
app/src/main/java/io/nekohasekai/sagernet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,8 +140,10 @@ class TrafficLooper
140140 var mainTx = 0L
141141 var mainRx = 0L
142142 tagMap.forEach { (_, it) ->
143- mainTxRate + = it.txRate
144- mainRxRate + = it.rxRate
143+ if (! it.ignore) {
144+ mainTxRate + = it.txRate
145+ mainRxRate + = it.rxRate
146+ }
145147 mainTx + = it.tx - it.txBase
146148 mainRx + = it.rx - it.rxBase
147149 }
Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ object RawUpdater : GroupUpdater() {
557557 proxies.forEach {
558558 it.initializeDefaultValues()
559559 if (it is StandardV2RayBean ) {
560- if (it.realityPubKey.isNotBlank () && it.utlsFingerprint.isBlank ()) {
560+ if (! it.realityPubKey.isNullOrBlank () && it.utlsFingerprint.isNullOrBlank ()) {
561561 it.utlsFingerprint = globalClientFingerprint
562562 }
563563 }
You can’t perform that action at this time.
0 commit comments