private void SeedDesignTimeData()
 {
     for (var i = 0; i < 1000; i++)
     {
         MeditationDiary.Add(new MeditationEntry { TimeMeditated = TenMinutes, StartTime = DateTime.Now });
     }
 }
Exemple #2
0
        private async void UpdateDiary()
        {
            var latestDiary = await _repository.GetAsync();

            MeditationDiary.Clear();

            foreach (var entry in latestDiary)
            {
                MeditationDiary.Add(entry);
            }

            SendDisplayDiaryMessage();
        }