mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: reply error widget
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -531,6 +531,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
|
|||||||
? FilledButton.tonal(
|
? FilledButton.tonal(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
GlobalData().grpcReply = false;
|
GlobalData().grpcReply = false;
|
||||||
|
_dynamicDetailController.onReload();
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||||
|
|||||||
@@ -472,6 +472,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
|
|||||||
? FilledButton.tonal(
|
? FilledButton.tonal(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
GlobalData().grpcReply = false;
|
GlobalData().grpcReply = false;
|
||||||
|
_htmlRenderCtr.onReload();
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||||
|
|||||||
@@ -299,6 +299,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
|||||||
? FilledButton.tonal(
|
? FilledButton.tonal(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
GlobalData().grpcReply = false;
|
GlobalData().grpcReply = false;
|
||||||
|
_videoReplyController.onReload();
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||||
|
|||||||
@@ -398,6 +398,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
|
|||||||
? FilledButton.tonal(
|
? FilledButton.tonal(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
GlobalData().grpcReply = false;
|
GlobalData().grpcReply = false;
|
||||||
|
_videoReplyReplyController.onReload();
|
||||||
},
|
},
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|||||||
Reference in New Issue
Block a user