Update AngConfigManager.kt
This commit is contained in:
1 parent
f1b6b1e871
commit
336b673746
1 file changed
+2
-2
@@ -996,8 +996,8 @@ object AngConfigManager {
|
|||||||
if (srv.inbounds != null && srv.outbounds != null && srv.routing != null) {
|
if (srv.inbounds != null && srv.outbounds != null && srv.routing != null) {
|
||||||
val config = ServerConfig.create(EConfigType.CUSTOM)
|
val config = ServerConfig.create(EConfigType.CUSTOM)
|
||||||
config.remarks = srv.remarks
|
config.remarks = srv.remarks
|
||||||
?: ("%04d-".format(count + 1) + System.currentTimeMillis()
|
?: "%04d-".format(count + 1) + System.currentTimeMillis()
|
||||||
.toString())
|
.toString()
|
||||||
config.subscriptionId = subid
|
config.subscriptionId = subid
|
||||||
config.fullConfig = srv
|
config.fullConfig = srv
|
||||||
val key = MmkvManager.encodeServerConfig("", config)
|
val key = MmkvManager.encodeServerConfig("", config)
|
||||||
|
|||||||
Reference in new issue
Block a user