Update AngConfigManager.kt

This commit is contained in:
Το μοχθηρό ^_^
2024-02-19 12:38:24 +08:00
committed by GitHub
parent f1b6b1e871
commit 336b673746

View File

@@ -996,8 +996,8 @@ object AngConfigManager {
if (srv.inbounds != null && srv.outbounds != null && srv.routing != null) {
val config = ServerConfig.create(EConfigType.CUSTOM)
config.remarks = srv.remarks
?: ("%04d-".format(count + 1) + System.currentTimeMillis()
.toString())
?: "%04d-".format(count + 1) + System.currentTimeMillis()
.toString()
config.subscriptionId = subid
config.fullConfig = srv
val key = MmkvManager.encodeServerConfig("", config)