feat(toolbar-snap-edges): test web
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
693034aa8c
commit
caba4fa4fa
2 changed files with 2 additions and 2 deletions
|
|
@ -488,7 +488,7 @@ class _GeneralState extends State<_General> {
|
|||
_OptionCheckBox(context, 'Confirm before closing multiple tabs',
|
||||
kOptionEnableConfirmClosingTabs,
|
||||
isServer: false),
|
||||
if (!isWeb && !bind.isIncomingOnly())
|
||||
if (!bind.isIncomingOnly())
|
||||
_OptionCheckBox(
|
||||
context,
|
||||
'allow-remote-toolbar-docking-any-edge',
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ class InputModel {
|
|||
/// which runs per-engine, so each isolate registers its own handler tied
|
||||
/// to its own set of InputModels.
|
||||
static void initSideButtonChannel() {
|
||||
if (!Platform.isLinux) return;
|
||||
if (!isLinux) return;
|
||||
if (_sideButtonChannelInitialized) return;
|
||||
_sideButtonChannelInitialized = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue