firka: fix login webview not receiving touches

This commit is contained in:
2026-02-28 12:59:51 +01:00
parent 12cce27e9d
commit 589e722310

View File

@@ -227,7 +227,9 @@ class _LoginWebviewWidgetState extends FirkaState<LoginWebviewWidget>
WebViewWidget(controller: _webViewController),
if (_fadeAnimationController != null &&
_fadeAnimation != null)
AnimatedBuilder(
IgnorePointer(
ignoring: !_isLoading,
child: AnimatedBuilder(
animation: _fadeAnimationController!,
builder: (context, child) => AnimatedOpacity(
opacity: _isLoading
@@ -244,7 +246,8 @@ class _LoginWebviewWidgetState extends FirkaState<LoginWebviewWidget>
height: 32,
child: CircularProgressIndicator(
strokeWidth: 3,
valueColor: AlwaysStoppedAnimation<Color>(
valueColor:
AlwaysStoppedAnimation<Color>(
appStyle.colors.accent,
),
),
@@ -253,6 +256,7 @@ class _LoginWebviewWidgetState extends FirkaState<LoginWebviewWidget>
),
),
),
),
],
),
),