remove obsolete TODOs

This commit is contained in:
Armin Schrenk
2021-05-21 13:41:19 +02:00
parent c01c405f20
commit be8dcd4dc4
3 changed files with 1 additions and 3 deletions

View File

@@ -41,7 +41,6 @@ class CheckListCell extends ListCell<HealthCheckTask> {
}
private FontAwesome5Icon glyphForState(Worker.State state) {
// TODO choose appropriate glyphs
return switch (state) {
case READY -> FontAwesome5Icon.COG; //just a placeholder
case SCHEDULED -> FontAwesome5Icon.CLOCK;

View File

@@ -43,7 +43,7 @@ class HealthCheckTask extends Task<Void> {
protected Void call() {
try (var masterkeyClone = masterkey.clone(); //
var cryptor = vaultConfig.getCipherCombo().getCryptorProvider(csprng).withKey(masterkeyClone)) {
check.check(vaultPath, vaultConfig, masterkeyClone, cryptor, result -> { //TODO: API-question about using Masterkey _and_ cryptor
check.check(vaultPath, vaultConfig, masterkeyClone, cryptor, result -> {
if (isCancelled()) {
throw new CancellationException();
}

View File

@@ -25,7 +25,6 @@
<HBox spacing="12" VBox.vgrow="ALWAYS">
<VBox minWidth="80" maxWidth="200" spacing="6" HBox.hgrow="ALWAYS" >
<Label fx:id="listHeading" text="%health.check.listHeader"/>
<!-- TODO:HEADER with select all checkbox -->
<CheckBox fx:id="selectAllBox" text="FIX: SELECT ALL" />
<ListView fx:id="checksListView" VBox.vgrow="ALWAYS"/>
</VBox>