mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-01 23:40:06 +00:00
Fix activeProfileId not sync change with subscribe
This commit is contained in:
@@ -260,7 +260,7 @@ class PreferencesWindowController: NSWindowController
|
||||
|
||||
func getDataAtRow(_ index:Int) -> (String, Bool) {
|
||||
let profile = profileMgr.profiles[index]
|
||||
let isActive = (profileMgr.activeProfileId == profile.uuid)
|
||||
let isActive = (profileMgr.getActiveProfileId() == profile.uuid)
|
||||
if !profile.remark.isEmpty {
|
||||
return (profile.remark, isActive)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user