Bugfix
This commit is contained in:
@@ -77,7 +77,10 @@ object ShadowsocksApplication {
|
||||
.build())
|
||||
|
||||
def profileId = settings.getInt(Key.profileId, -1)
|
||||
def profileId(i: Int) = settings.edit.putInt(Key.profileId, i).apply
|
||||
def profileId(i: Int) = {
|
||||
settings.edit.putInt(Key.profileId, i).apply
|
||||
profileManager.load(i)
|
||||
}
|
||||
def proxy = settings.getString(Key.proxy, "")
|
||||
def currentProfile = profileManager.getProfile(profileId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user