refact: web, remote toolbar, pin (#9206)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-08-29 23:38:08 +08:00 committed by GitHub
parent d335cdbb0c
commit 832002a10f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,8 +452,8 @@ class _RemoteToolbarState extends State<RemoteToolbar> {
Widget _buildToolbar(BuildContext context) {
final List<Widget> toolbarItems = [];
toolbarItems.add(_PinMenu(state: widget.state));
if (!isWebDesktop) {
toolbarItems.add(_PinMenu(state: widget.state));
toolbarItems.add(_MobileActionMenu(ffi: widget.ffi));
}