This commit is contained in:
Mygod
2015-11-09 09:15:51 +08:00
parent cdb9ebe56e
commit e6cf38e6ff
2 changed files with 4 additions and 2 deletions
@@ -457,7 +457,6 @@ class Shadowsocks
case None => // removed
val profiles = ShadowsocksApplication.profileManager.getAllProfiles.getOrElse(List[Profile]())
ShadowsocksApplication.profileId(if (profiles.isEmpty) -1 else profiles.head.id)
ShadowsocksApplication.currentProfile getOrElse currentProfile
}
updatePreferenceScreen()