private static async Task LoadRoamingAsync() { var fav = await Singleton<RoamingService>.Instance.GetAsync<FavoritesTable>(FavFileName); if (fav == null) { fav = new FavoritesTable { Sections = new List<FavoritesSection>() }; } _userFavorites = fav; }
private static async Task LoadRoamingAsync() { var fav = await Singleton <RoamingService> .Instance.GetAsync <FavoritesTable>(FavFileName); if (fav == null) { fav = new FavoritesTable { Sections = new List <FavoritesSection>() }; } _userFavorites = fav; }