mod: add reverse from first option

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-31 12:12:43 +08:00
parent 20a89fbccb
commit 1215d126cc
8 changed files with 80 additions and 59 deletions

View File

@@ -148,6 +148,9 @@ class GStorage {
static bool get showArgueMsg =>
setting.get(SettingBoxKey.showArgueMsg, defaultValue: true);
static bool get reverseFromFirst =>
setting.get(SettingBoxKey.reverseFromFirst, defaultValue: true);
static List<double> get dynamicDetailRatio => List<double>.from(setting
.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]));
@@ -350,6 +353,7 @@ class SettingBoxKey {
horizontalMemberPage = 'horizontalMemberPage',
replyLengthLimit = 'replyLengthLimit',
showArgueMsg = 'showArgueMsg',
reverseFromFirst = 'reverseFromFirst',
// Sponsor Block
enableSponsorBlock = 'enableSponsorBlock',