- // TODO Enable this after tizen-theme-manager is released.
- // private void TizenThemeChanged(object sender, ThemeEventArgs e)
- // {
- // string prefix = "/theme/";
-
- // Dictionary<string, string> changedResources = new Dictionary<string, string>();
- // foreach (string key in ThemeManager.DefaultTheme.Resources.Keys)
- // {
- // // NOTE Need improve this code by checking HasKey
- // string newValue = null;
- // try
- // {
- // newValue = e.Theme.GetString(prefix + key);
- // }
- // catch { }
- // if (newValue != null)
- // {
- // changedResources[key] = newValue;
- // }
- // }
- // ThemeManager.UpdateCurrentThemeResources(changedResources);
- // }
-