mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-10 19:59:05 +02:00
fix a rare crash around blurring in newer versions of flutter - bit of a workaround
This commit is contained in:
@@ -627,10 +627,13 @@ class _EditNodeSheetState extends State<EditNodeSheet> {
|
||||
],
|
||||
),
|
||||
|
||||
// Tutorial overlay - show only if tutorial should be shown and we're done checking
|
||||
if (!_isCheckingTutorial && _showTutorial)
|
||||
// Tutorial overlay - always mounted once the initial check
|
||||
// completes (never conditionally inserted/removed - see
|
||||
// PositioningTutorialOverlay's class doc for why), fades via
|
||||
// its own `visible` flag instead.
|
||||
if (!_isCheckingTutorial)
|
||||
Positioned.fill(
|
||||
child: PositioningTutorialOverlay(),
|
||||
child: PositioningTutorialOverlay(visible: _showTutorial),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user