From e360342a6dc5d6b0569a900522df9c0055947412 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Sat, 27 Sep 2025 11:13:39 +0200 Subject: [PATCH] reduce debounce for now --- .../flutter_mozilla_components/components/Events.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Events.kt b/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Events.kt index c8660431..3757a12e 100644 --- a/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Events.kt +++ b/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Events.kt @@ -54,7 +54,7 @@ class Events( it.content } .ifAnyChanged { arrayOf (it.content.icon) } - .debounce { 50 } + .debounce { 16 } .collect { tab -> val iconBytes = tab.content.icon?.toWebPBytes() flutterEvents.onIconChange( @@ -70,7 +70,7 @@ class Events( .filterChanged { it.content.securityInfo } - .debounce { 50 } + .debounce { 16 } .collect { tab -> flutterEvents.onSecurityInfoStateChange( System.currentTimeMillis(), @@ -94,7 +94,7 @@ class Events( it.readerState.active, ) } - .debounce { 50 } + .debounce { 16 } .collect { tab -> flutterEvents.onReaderableStateChange( System.currentTimeMillis(), @@ -118,7 +118,7 @@ class Events( it.content.canGoForward, ) } - .debounce { 50 } + .debounce { 16 } .collect { tab -> flutterEvents.onHistoryStateChange( System.currentTimeMillis(), @@ -157,7 +157,7 @@ class Events( it.content.progress, it.content.loading) } - .debounce { 50 } + .debounce { 16 } .collect { tab -> flutterEvents.onTabContentStateChange( System.currentTimeMillis(),