opt create dyn menubtn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 10:21:18 +08:00
parent 1f77ee178e
commit b643cb1bd0

View File

@@ -318,6 +318,7 @@ class _CreateDynPanelState extends CommonPublishPageState<CreateDynPanel> {
? theme.colorScheme.error
: theme.colorScheme.secondary;
return PopupMenuButton<bool>(
requestFocus: false,
initialValue: _isPrivate.value,
onOpened: controller.keepChatPanel,
onSelected: (value) => _isPrivate.value = value,
@@ -374,6 +375,7 @@ class _CreateDynPanelState extends CommonPublishPageState<CreateDynPanel> {
? theme.colorScheme.error
: theme.colorScheme.secondary;
return PopupMenuButton<ReplyOptionType>(
requestFocus: false,
initialValue: _replyOption.value,
onOpened: controller.keepChatPanel,
onSelected: (item) => _replyOption.value = item,