Updated on 2026-08-14
This commit is contained in:
parent
781150b16f
commit
b0ec0581dc
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class ForegroundActivityObserver : ActivityResultCaller {
|
|||
|
||||
val foregroundActivity: AppCompatActivity?
|
||||
get() = activities.entries
|
||||
.firstOrNull { it.value?.isDestroyed ?: false }
|
||||
.firstOrNull { it.value?.isDestroyed == false }
|
||||
?.value
|
||||
|
||||
internal val callbacks: ActivityLifecycleCallbacks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue