Small fixes [stage]

This commit is contained in:
crschnick 2024-11-07 03:43:19 +00:00
parent 349d2521cb
commit b6ae29e6ae
3 changed files with 5 additions and 6 deletions

View file

@ -97,9 +97,9 @@ public class AppTheme {
}
try {
var lastSystemDark = AppCache.getBoolean("lastTheme", false);
var lastSystemDark = AppCache.getBoolean("lastDarkTheme", false);
var nowDark = Platform.getPreferences().getColorScheme() == ColorScheme.DARK;
AppCache.update("lastTheme", nowDark);
AppCache.update("lastDarkTheme", nowDark);
if (AppPrefs.get().theme.getValue() == null || lastSystemDark != nowDark) {
setDefault();
}
@ -129,6 +129,7 @@ public class AppTheme {
TrackEvent.debug("Set theme " + t.getId() + " for scene");
AppPrefs.get().theme.addListener((c, o, n) -> {
AppCache.update("lastDarkTheme", n != null && n.isDark());
changeTheme(n);
});

View file

@ -29,9 +29,7 @@ There's now a new mechanism in place for checking for security updates separatel
## Fixes
- Fix VM SSH connections not being able to use the keys and identities from the local system
- Fix vmware integration failing when files other than vmx were in the VM directories
- Fix vmware integration failing when files other than .vmx were in the VM directories
- Fix style issues with the mocha theme
- Fix color contrast for some themes
- Fix system dark mode changes not being applied if they were changed while XPipe was not running
- Fix shell environment scan restarting shell connection multiple times
- Fix zsh local shell freezing if a zsh extension had a pending update

View file

@ -1 +1 @@
13.0-7
13.0-8