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
Unless I'm missing something, the --discord-safe-area-inset-* values should be available right at the start of an activity or at least after the SDK is ready, this was how it used to work. But currently, these values are never available until a change of layout mode or screen orientation.
To test this, logged the value of --discord-safe-area-inset-top every second and it was always empty. Then I switched the activity to picture-in-picture mode or changed screen orientation and the value would become available as 48px. This issue happens with all the top, down, left, right values.
The text was updated successfully, but these errors were encountered:
Unless I'm missing something, the
--discord-safe-area-inset-*
values should be available right at the start of an activity or at least after the SDK is ready, this was how it used to work. But currently, these values are never available until a change of layout mode or screen orientation.To test this, logged the value of
--discord-safe-area-inset-top
every second and it was always empty. Then I switched the activity to picture-in-picture mode or changed screen orientation and the value would become available as48px
. This issue happens with all the top, down, left, right values.The text was updated successfully, but these errors were encountered: