* opt: sized

* fix: self send

* feat: ctrl enter to send

* opt: checked

* opt: download notifier

* opt: Future.syncValue

* mod: account

* mod: loading state

* opt: DebounceStreamMixin

* opt: report

* opt: enum map

* opt: file handler

* opt: dyn color

* opt: Uint8List subview

* opt: FileExt

* opt: computeLuminance

* opt: isNullOrEmpty

* opt: Get context

* update [skip ci]

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* opt dynamicColor [skip ci]

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* fixes [skip ci]

* update

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* update

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Signed-off-by: My-Responsitories <107370289+My-Responsitories@users.noreply.github.com>
Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-17 17:01:10 +08:00
committed by GitHub
parent 02e0d34127
commit ce5e85e64b
87 changed files with 707 additions and 646 deletions

View File

@@ -94,32 +94,30 @@ class _ReplyPageState extends CommonRichTextPubPageState<LiveSendDmPanel> {
left: 15,
bottom: 10,
),
child: Form(
autovalidateMode: AutovalidateMode.onUserInteraction,
child: Listener(
onPointerUp: (event) {
if (readOnly.value) {
updatePanelType(PanelType.keyboard);
}
},
child: Obx(
() => RichTextField(
key: key,
controller: editController,
minLines: 1,
maxLines: 2,
autofocus: false,
readOnly: readOnly.value,
onChanged: onChanged,
focusNode: focusNode,
decoration: const InputDecoration(
hintText: "输入弹幕内容",
border: InputBorder.none,
hintStyle: TextStyle(fontSize: 14),
),
style: theme.textTheme.bodyLarge,
// inputFormatters: [LengthLimitingTextInputFormatter(20)],
child: Listener(
onPointerUp: (event) {
if (readOnly.value) {
updatePanelType(PanelType.keyboard);
}
},
child: Obx(
() => RichTextField(
key: key,
controller: editController,
minLines: 1,
maxLines: 2,
autofocus: false,
readOnly: readOnly.value,
onChanged: onChanged,
onSubmitted: onSubmitted,
focusNode: focusNode,
decoration: const InputDecoration(
hintText: "输入弹幕内容",
border: InputBorder.none,
hintStyle: TextStyle(fontSize: 14),
),
style: theme.textTheme.bodyLarge,
// inputFormatters: [LengthLimitingTextInputFormatter(20)],
),
),
),
@@ -182,6 +180,6 @@ class _ReplyPageState extends CommonRichTextPubPageState<LiveSendDmPanel> {
@override
Future<void> onMention([bool fromClick = false]) {
return Future.value();
return Future.syncValue(null);
}
}