Exemplo n.º 1
0
        public async Task ClearVisitedStateAsync()
        {
            await _localStorageService.RemoveItemAsync(VISITED_KEY);

            await OnVisitStateChange?.Invoke();
        }
Exemplo n.º 2
0
        public async Task SetVisitedAsync()
        {
            await _localStorageService.SetItemAsync(VISITED_KEY, DateTime.Now);

            await OnVisitStateChange?.Invoke();
        }