This commit is contained in:
Armin Schrenk
2025-03-06 12:55:12 +01:00
parent b2250e8ce0
commit 3ba7e9ba00
2 changed files with 4 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ public class EventListCellController implements FxController {
return eventDescription.getValue();
} else {
var e = event.getValue();
return resourceBundle.getString("event.vaultLocked.description").formatted(e != null? e.v().getDisplayName():"");
return resourceBundle.getString("event.vaultLocked.description").formatted(e != null ? e.v().getDisplayName() : "");
}
}

View File

@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ContextMenu?>
<?import org.cryptomator.ui.controls.FormattedLabel?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<HBox xmlns:fx="http://javafx.com/fxml"
xmlns="http://javafx.com/javafx"
fx:controller="org.cryptomator.ui.eventview.EventListCellController"