protected override async void OnAppearing() { base.OnAppearing(); await _vm.InitAsync(); if (!_inputFocused) { RequestFocus(string.IsNullOrWhiteSpace(_vm.Email) ? _email : _masterPassword); _inputFocused = true; } }
protected override async void OnAppearing() { base.OnAppearing(); await _vm.InitAsync(); if (string.IsNullOrWhiteSpace(_vm.Email)) { RequestFocus(_email); } else { RequestFocus(_masterPassword); } }
protected override async void OnAppearing() { base.OnAppearing(); _mainContent.Content = _mainLayout; _accountAvatar?.OnAppearing(); if (!_appOptions?.HideAccountSwitcher ?? false) { _vm.AvatarImageSource = await GetAvatarImageSourceAsync(); } await _vm.InitAsync(); if (!_inputFocused) { RequestFocus(string.IsNullOrWhiteSpace(_vm.Email) ? _email : _masterPassword); _inputFocused = true; } }