Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LoginFragment crash on activity recreation
App can go in background while LoginFragment is visible, where it can be killed by system. If VncActivity is the recreated, old VncViewModel would be gone and loginType will be null. Instead of crashing on null loginType, now the LoginFragment is simply dismissed.
- Loading branch information