mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: show reply rootText
Closes #605 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -17,6 +17,7 @@ class ReplyPage extends CommonPublishPage {
|
||||
final int? parent;
|
||||
final ReplyType? replyType;
|
||||
final dynamic replyItem;
|
||||
final String? hint;
|
||||
|
||||
const ReplyPage({
|
||||
super.key,
|
||||
@@ -28,6 +29,7 @@ class ReplyPage extends CommonPublishPage {
|
||||
this.parent,
|
||||
this.replyType,
|
||||
this.replyItem,
|
||||
this.hint,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -161,8 +163,8 @@ class _ReplyPageState extends CommonPublishPageState<ReplyPage> {
|
||||
widget.onSave?.call(value);
|
||||
},
|
||||
focusNode: focusNode,
|
||||
decoration: const InputDecoration(
|
||||
hintText: "输入回复内容",
|
||||
decoration: InputDecoration(
|
||||
hintText: widget.hint ?? "输入回复内容",
|
||||
border: InputBorder.none,
|
||||
hintStyle: TextStyle(fontSize: 14)),
|
||||
style: themeData.textTheme.bodyLarge,
|
||||
|
||||
Reference in New Issue
Block a user