hunk.code_window:       ];
         this.state.availableTheme = {
           light: 'light',
           dark: 'dark',
           highContrast: 'highcontrast',
         };
         try {
           this.state.userId = await this.Authentication.getUserDetails().ID;
           const data = await this.UserService.user(this.state.userId);
           this.state.userTheme = data.UserTheme || this.state.defaultTheme;
           this.state.initTheme = this.state.userTheme;
  
hunk.labels: keep keep replace replace replace replace replace replace keep keep keep keep keep
hunk.file_path: app/portainer/components/theme/theme-settings.controller.js
hunk.type: replace
file: package migrator
  
  import portainer "github.com/portainer/portainer/api"
  
  func (m *Migrator) migrateDBVersionToDB33() error {
  	if err := m.migrateSettingsToDB33(); err != nil {
  		return err
  	}
  
  	return nil
  }
  
  func (m *Migrator) migrateSettingsToDB33() error {
  	settings, err := m.settingsService.Settings()
  	if err != nil {
  		return err
  	}
  
  	settings.KubectlShellImage = portainer.DefaultKubectlShellImage
  	return m.settingsService.UpdateSettings(settings)
  }
  