Show model state, if it is not equal to ONLINE

This commit is contained in:
0xb00bface 2020-08-18 19:58:20 +02:00
parent 8b4a82d158
commit 00f6a0fa0a
1 changed files with 6 additions and 0 deletions

View File

@ -297,6 +297,12 @@ public class ThumbCell extends StackPane {
} else { } else {
resolutionBackgroundColor = resolutionOfflineColor; resolutionBackgroundColor = resolutionOfflineColor;
} }
} else {
State state = model.getOnlineState(true);
if (state != ONLINE) {
tagText = state.name();
resolutionBackgroundColor = resolutionOfflineColor;
}
} }
} catch (InterruptedException e) { } catch (InterruptedException e) {
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();