mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
fix: type error for subscription
This commit is contained in:
@@ -169,7 +169,7 @@ class ProfileManager(private val context: Context) : IProfileManager,
|
||||
|
||||
info[0].contains("expire") -> {
|
||||
if (info[1].isNotEmpty()) {
|
||||
expire = info[1].toLong()
|
||||
expire = (info[1].toDouble()*1000).toLong()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ object ProfileProcessor {
|
||||
|
||||
info[0].contains("expire") -> {
|
||||
if (info[1].isNotEmpty()) {
|
||||
expire = info[1].toLong()
|
||||
expire = (info[1].toDouble() * 1000).toLong()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user