Example #1
0
        private void OnSettingsUpdated(object?_, PropertyChangedEventArgs e)
        {
            twitterService.AuthenticationTokens(
                Settings.AccessToken,
                Settings.AccessTokenSecret);

            if (e.PropertyName.IsEqualTo(nameof(ISettings.UseLightTheme)))
            {
                App.Commands.UpdateTheme.Execute(Settings.UseLightTheme);
            }
        }