mirror of
https://github.com/xpipe-io/xpipe.git
synced 2025-04-16 17:23:35 +00:00
Shell display fixes
This commit is contained in:
parent
2d356e6f8a
commit
7ad93bb2a6
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
package io.xpipe.app.comp.store;
|
||||
|
||||
import io.xpipe.app.ext.ActionProvider;
|
||||
import io.xpipe.app.ext.ShellStore;
|
||||
import io.xpipe.app.issue.ErrorEvent;
|
||||
import io.xpipe.app.prefs.AppPrefs;
|
||||
import io.xpipe.app.storage.DataColor;
|
||||
|
@ -157,7 +158,7 @@ public class StoreEntryWrapper {
|
|||
busy.setValue(entry.getBusyCounter().get() != 0);
|
||||
deletable.setValue(entry.getConfiguration().isDeletable()
|
||||
|| AppPrefs.get().developerDisableGuiRestrictions().getValue());
|
||||
sessionActive.setValue(entry.getStore() instanceof SingletonSessionStore<?> ss && ss.isSessionRunning());
|
||||
sessionActive.setValue(entry.getStore() instanceof SingletonSessionStore<?> ss && entry.getStore() instanceof ShellStore && ss.isSessionRunning());
|
||||
|
||||
category.setValue(StoreViewState.get()
|
||||
.getCategoryWrapper(DataStorage.get()
|
||||
|
|
|
@ -90,7 +90,7 @@ public class ShellStoreFormat {
|
|||
if (state != null && state.isEmpty()) {
|
||||
state = null;
|
||||
}
|
||||
return DataStoreFormatter.join(lic, state, name);
|
||||
return DataStoreFormatter.join(lic, name, state);
|
||||
}
|
||||
|
||||
public static String formattedOsName(String osName) {
|
||||
|
|
Loading…
Add table
Reference in a new issue