mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
opt show more text
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -305,8 +305,13 @@ class Pref {
|
||||
static bool get horizontalMemberPage =>
|
||||
_setting.get(SettingBoxKey.horizontalMemberPage, defaultValue: false);
|
||||
|
||||
static int get replyLengthLimit =>
|
||||
_setting.get(SettingBoxKey.replyLengthLimit, defaultValue: 6);
|
||||
static int? get replyLengthLimit {
|
||||
int length = _setting.get(SettingBoxKey.replyLengthLimit, defaultValue: 6);
|
||||
if (length <= 0) {
|
||||
return null;
|
||||
}
|
||||
return length;
|
||||
}
|
||||
|
||||
static int get defaultPicQa =>
|
||||
_setting.get(SettingBoxKey.defaultPicQa, defaultValue: 10);
|
||||
|
||||
Reference in New Issue
Block a user