private async void EnsureLoggedInIfTokenSaved() { var token = await _tokenStorage.ReadToken <YandexFileSystemProvider>(); if (string.IsNullOrWhiteSpace(token)) { return; } ApplyTokenToHeaders(token); _isAuthorized.OnNext(true); }
private async void EnsureLoggedInIfTokenSaved() { var token = await _tokenStorage.ReadToken <YandexFileSystemProvider>(); if (string.IsNullOrWhiteSpace(token)) { return; } ApplyTokenToHeaders(token); _isAuthorized.OnNext(true); }