Fix import profile

This commit is contained in:
世界
2023-09-22 12:23:49 +08:00
parent 5e98d2cbe1
commit c960401961
2 changed files with 3 additions and 0 deletions

View File

@@ -166,6 +166,8 @@ class MainActivity : AbstractActivity(), ServiceConnection.Callback, DistributeL
Libbox.ProfileTypeRemote -> {
typedProfile.type = TypedProfile.Type.Remote
typedProfile.remoteURL = content.remotePath
typedProfile.autoUpdate = content.autoUpdate
typedProfile.autoUpdateInterval = content.autoUpdateInterval
typedProfile.lastUpdated = Date(content.lastUpdated)
}
}