reduce debounce for now
This commit is contained in:
+5
-5
@@ -54,7 +54,7 @@ class Events(
|
|||||||
it.content
|
it.content
|
||||||
}
|
}
|
||||||
.ifAnyChanged { arrayOf (it.content.icon) }
|
.ifAnyChanged { arrayOf (it.content.icon) }
|
||||||
.debounce { 50 }
|
.debounce { 16 }
|
||||||
.collect { tab ->
|
.collect { tab ->
|
||||||
val iconBytes = tab.content.icon?.toWebPBytes()
|
val iconBytes = tab.content.icon?.toWebPBytes()
|
||||||
flutterEvents.onIconChange(
|
flutterEvents.onIconChange(
|
||||||
@@ -70,7 +70,7 @@ class Events(
|
|||||||
.filterChanged {
|
.filterChanged {
|
||||||
it.content.securityInfo
|
it.content.securityInfo
|
||||||
}
|
}
|
||||||
.debounce { 50 }
|
.debounce { 16 }
|
||||||
.collect { tab ->
|
.collect { tab ->
|
||||||
flutterEvents.onSecurityInfoStateChange(
|
flutterEvents.onSecurityInfoStateChange(
|
||||||
System.currentTimeMillis(),
|
System.currentTimeMillis(),
|
||||||
@@ -94,7 +94,7 @@ class Events(
|
|||||||
it.readerState.active,
|
it.readerState.active,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
.debounce { 50 }
|
.debounce { 16 }
|
||||||
.collect { tab ->
|
.collect { tab ->
|
||||||
flutterEvents.onReaderableStateChange(
|
flutterEvents.onReaderableStateChange(
|
||||||
System.currentTimeMillis(),
|
System.currentTimeMillis(),
|
||||||
@@ -118,7 +118,7 @@ class Events(
|
|||||||
it.content.canGoForward,
|
it.content.canGoForward,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
.debounce { 50 }
|
.debounce { 16 }
|
||||||
.collect { tab ->
|
.collect { tab ->
|
||||||
flutterEvents.onHistoryStateChange(
|
flutterEvents.onHistoryStateChange(
|
||||||
System.currentTimeMillis(),
|
System.currentTimeMillis(),
|
||||||
@@ -157,7 +157,7 @@ class Events(
|
|||||||
it.content.progress,
|
it.content.progress,
|
||||||
it.content.loading)
|
it.content.loading)
|
||||||
}
|
}
|
||||||
.debounce { 50 }
|
.debounce { 16 }
|
||||||
.collect { tab ->
|
.collect { tab ->
|
||||||
flutterEvents.onTabContentStateChange(
|
flutterEvents.onTabContentStateChange(
|
||||||
System.currentTimeMillis(),
|
System.currentTimeMillis(),
|
||||||
|
|||||||
Reference in New Issue
Block a user