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(
|
||||
onPressed: () {
|
||||
GlobalData().grpcReply = false;
|
||||
_dynamicDetailController.onReload();
|
||||
},
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||
|
||||
@@ -472,6 +472,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
|
||||
? FilledButton.tonal(
|
||||
onPressed: () {
|
||||
GlobalData().grpcReply = false;
|
||||
_htmlRenderCtr.onReload();
|
||||
},
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||
|
||||
@@ -299,6 +299,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
? FilledButton.tonal(
|
||||
onPressed: () {
|
||||
GlobalData().grpcReply = false;
|
||||
_videoReplyController.onReload();
|
||||
},
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateProperty.resolveWith((states) {
|
||||
|
||||
@@ -398,6 +398,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
|
||||
? FilledButton.tonal(
|
||||
onPressed: () {
|
||||
GlobalData().grpcReply = false;
|
||||
_videoReplyReplyController.onReload();
|
||||
},
|
||||
style: ButtonStyle(
|
||||
backgroundColor:
|
||||
|
||||
Reference in New Issue
Block a user