fix restore selected proxy after update profile

This commit is contained in:
Kr328 committed 2019-12-08 23:55:40 +08:00
1 parent a1d623c42b
commit 8ec689a893
4 files changed
+9 -2

No files matched your search

@@ -180,8 +180,7 @@ class ProfilesActivity : BaseActivity() {
}
runClash { clash ->
clash.profileService.addProfile(profile
.copy(lastUpdate = System.currentTimeMillis()))
clash.profileService.touchProfile(profile.id)
}
}
catch (e: Exception) {