mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
opt show more text
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -205,11 +205,12 @@ List<SettingsModel> get extraSettings => [
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
Get.back();
|
||||
int length = int.tryParse(replyLengthLimit) ?? 6;
|
||||
ReplyItemGrpc.replyLengthLimit =
|
||||
int.tryParse(replyLengthLimit) ?? 6;
|
||||
length == 0 ? null : length;
|
||||
await GStorage.setting.put(
|
||||
SettingBoxKey.replyLengthLimit,
|
||||
ReplyItemGrpc.replyLengthLimit,
|
||||
length,
|
||||
);
|
||||
setState();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user