You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a song with a name that is really long (might need to adjust prefixLength to 60)
I was previously relying on handleVisibilityChange() being called twice on startup (the first time, the player is nil). Now, it seems to only be called once.
This can be fixed by adding the following code to SoundSeerViewModel's init function:
DispatchQueue.main.asyncAfter(deadline: .now() + 1.5) { [weak self] in
self?.handleVisibilityChange(false)
}
The text was updated successfully, but these errors were encountered:
Repro:
prefixLength
to 60)I was previously relying on
handleVisibilityChange()
being called twice on startup (the first time, the player is nil). Now, it seems to only be called once.This can be fixed by adding the following code to SoundSeerViewModel's
init
function:The text was updated successfully, but these errors were encountered: