Skip to content

Commit

Permalink
update an override method signature
Browse files Browse the repository at this point in the history
* This code was originally created in #2112
* When making the 5.1.15 release, 2 errors showed up for the `onFocus` method.
* Odd that our PR CI build and unit testing succeeded
  • Loading branch information
nan-li committed Jun 18, 2024
1 parent 6e65b5f commit 8930137
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ internal class NotificationPermissionController(
private fun registerPollingLifecycleListener() {
_applicationService.addApplicationLifecycleHandler(
object : ApplicationLifecycleHandlerBase() {
override fun onFocus() {
super.onFocus()
override fun onFocus(firedOnSubscribe: Boolean) {
super.onFocus(firedOnSubscribe)
pollingWaitInterval = _configModelStore.model.foregroundFetchNotificationPermissionInterval
pollingWaiter.wake()
}
Expand Down

0 comments on commit 8930137

Please sign in to comment.