mirror of
https://github.com/2dust/v2rayNG.git
synced 2026-10-29 06:31:54 +00:00
fix(subscription): refresh main list after updating subscriptions (#6329)
Updating subscriptions from the subscription screen without auto-test replaced profile GUIDs but did not request a main list refresh. The main screen kept stale rows, and editing one opened an empty editor because its payloads had been removed. Co-authored-by: fanymagnet <>
This commit is contained in:
1 parent
552cc2425d
commit
bb59a71cb9
1 file changed
+3
@@ -121,6 +121,9 @@ class SubscriptionsViewModel(application: Application) : BaseViewModel(applicati
|
||||
else ->
|
||||
toast(getString(R.string.title_update_subscription_result, result.configCount, result.successCount, result.failureCount, result.skipCount))
|
||||
}
|
||||
if (result.configCount > 0) {
|
||||
SettingsChangeManager.makeSetupGroupTab()
|
||||
}
|
||||
reload()
|
||||
} catch (cancelled: CancellationException) {
|
||||
throw cancelled
|
||||
|
||||
Reference in new issue
Block a user