mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: remove useless popoverMutex from _AddOptionButton widget
This commit is contained in:
parent
286c89bf74
commit
c7d8a0b7c3
@ -52,7 +52,7 @@ class SelectOptionTypeOptionWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (state.options.isEmpty && !state.isEditingOption)
|
if (state.options.isEmpty && !state.isEditingOption)
|
||||||
_AddOptionButton(popoverMutex: popoverMutex),
|
const _AddOptionButton(),
|
||||||
_OptionList(popoverMutex: popoverMutex)
|
_OptionList(popoverMutex: popoverMutex)
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -231,11 +231,7 @@ class _OptionCellState extends State<_OptionCell> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _AddOptionButton extends StatelessWidget {
|
class _AddOptionButton extends StatelessWidget {
|
||||||
final PopoverMutex? popoverMutex;
|
const _AddOptionButton({Key? key}) : super(key: key);
|
||||||
const _AddOptionButton({
|
|
||||||
Key? key,
|
|
||||||
this.popoverMutex,
|
|
||||||
}) : super(key: key);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user