Support multi-selection subscription moves

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-08-31 15:37:02 +08:00
parent 2fdbe31131
commit a4559e7abd
5 changed files with 318 additions and 37 deletions
+5
View File
@@ -118,6 +118,11 @@ class Storage:
"""Return one subscription group by stable ID."""
return Storage._UserSubsStorage().group(unique)
@staticmethod
def moveSubscriptionGroups(groupIds, position: str) -> bool:
"""Move selected subscription groups in their persisted display order."""
return Storage._UserSubsStorage().moveGroups(groupIds, position)
@staticmethod
def upsertSubscriptionGroup(group: SubscriptionGroup):
"""Persist one subscription group through the shared repository."""