Fix import profile

This commit is contained in:
世界 committed 2023-09-22 12:23:49 +08:00
1 parent 5e98d2cbe1
commit c960401961
2 files changed
+3

No files matched your search

@@ -26,6 +26,7 @@ suspend fun Context.shareProfile(profile: Profile) {
content.config = File(profile.typed.path).readText()
content.remotePath = profile.typed.remoteURL
content.autoUpdate = profile.typed.autoUpdate
content.autoUpdateInterval = profile.typed.autoUpdateInterval
content.lastUpdated = profile.typed.lastUpdated.time
val configDirectory = File(cacheDir, "share").also { it.mkdirs() }