summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadRustRuntime/RustProblemReportRequest.swift
diff options
context:
space:
mode:
authorKalle Lindström <karl.lindstrom@mullvad.net>2025-04-11 13:38:32 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-04-15 11:17:48 +0200
commit95c579704a1f3c1e08378aa5907af00eb88b5275 (patch)
treeb7d1274252028f80e437d6b93f6feeb2eb44abe1 /ios/MullvadRustRuntime/RustProblemReportRequest.swift
parent8a7f8ca15cd7dfcfa33ee46a244f2e5889b970f7 (diff)
downloadmullvadvpn-95c579704a1f3c1e08378aa5907af00eb88b5275.tar.xz
mullvadvpn-95c579704a1f3c1e08378aa5907af00eb88b5275.zip
Fix nav drawer wrong focus on Android TV
When switching locations on Android TV when the app goes back to the connect screen, focus was sometimes incorrectly put on the navigation drawer, which caused it to expand when it shouldn't. This commit fixes that by detecting when we navigate back to the connect screen from the select location screen, and when that is the case we manually focus the select location button. We check if we get a FocusDirection.Down event to detect if we navigated back from the select location screen, which isn't optimal, but I couldn't find a better way to detect this. This works because if we return from the account or settings screens we get a FocusDirection.Enter event.
Diffstat (limited to 'ios/MullvadRustRuntime/RustProblemReportRequest.swift')
0 files changed, 0 insertions, 0 deletions