Centralize application settings UI

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-08-12 12:23:19 +08:00
parent 6d0f75d1ea
commit bee149a8b0
12 changed files with 436 additions and 429 deletions
+11 -8
View File
@@ -23,22 +23,25 @@ from Furious.Frozenlib import *
from Furious.Interface import *
from Furious.Models.Encoding import *
from dataclasses import dataclass
__all__ = ['UserSubs']
registerAppSettings('CustomSubscription')
@dataclass
class UserSubEntry:
"""Describe one user sub entry."""
remark: str
webURL: str
enabled: bool
autoupdate: str
proxy: str
userAgent: str
filter: str
lastUpdated: str
remark: str = ''
webURL: str = ''
enabled: bool = True
autoupdate: str = ''
proxy: str = ''
userAgent: str = ''
filter: str = ''
lastUpdated: str = ''
class UserSub: