mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-05 21:37:56 +03:00
Centralize application settings UI
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user