From 1f904815faf4ea5ed4786656a1a3dc34ab84d81d Mon Sep 17 00:00:00 2001 From: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:03:12 +0700 Subject: [PATCH] Clean up some build warnings --- .../java/eu/kanade/presentation/webview/EhLoginWebViewScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/webview/EhLoginWebViewScreen.kt b/app/src/main/java/eu/kanade/presentation/webview/EhLoginWebViewScreen.kt index 344a2fe6a..1eebd48bc 100644 --- a/app/src/main/java/eu/kanade/presentation/webview/EhLoginWebViewScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/webview/EhLoginWebViewScreen.kt @@ -80,7 +80,7 @@ fun EhLoginWebViewScreen( ) is LoadingState.Loading -> { val animatedProgress by animateFloatAsState( - (loadingState as? LoadingState.Loading)?.progress ?: 1f, + loadingState.progress, animationSpec = ProgressIndicatorDefaults.ProgressAnimationSpec, label = "webview_loading", )