예제 #1
0
        public TimeViewModel()
        {
            _approxTime  = new ApproxTime(DetermineAppLanguage());
            _currentTier = ApproxTime.DefaultTier;

            _settings    = new Settings();
            _currentTier = _settings.AppCurrentTier;

            _updateTimer = new Timer(TickTock, null, CurrentTimerRefresh, CurrentTimerRefresh);
        }
예제 #2
0
 public async Task SetLanguageAsync(string languageCode)
 {
     _approxTime = new ApproxTime(languageCode);
     await UpdateTime();
 }