public TimeViewModel() { _approxTime = new ApproxTime(DetermineAppLanguage()); _currentTier = ApproxTime.DefaultTier; _settings = new Settings(); _currentTier = _settings.AppCurrentTier; _updateTimer = new Timer(TickTock, null, CurrentTimerRefresh, CurrentTimerRefresh); }
public async Task SetLanguageAsync(string languageCode) { _approxTime = new ApproxTime(languageCode); await UpdateTime(); }