mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-21 06:54:41 +00:00
while network err and not fill subscribe name using New Subscribe
This commit is contained in:
@@ -53,7 +53,7 @@ class Subscribe: NSObject{
|
||||
if newGroupName != "" { return groupName = newGroupName }
|
||||
if self.cache != "" { return getGroupNameFromRes(resString: cache) }
|
||||
sendRequest(url: self.subscribeFeed, options: "", callback: { resString in
|
||||
if resString == "" { return }
|
||||
if resString == "" { return self.groupName = "New Subscribe" }
|
||||
getGroupNameFromRes(resString: resString)
|
||||
self.cache = resString
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user