Fix detekt issues

This commit is contained in:
Marvin Elsen 2024-09-26 23:12:00 +02:00
parent 02257b7e6b
commit fee7cbf260
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2
2 changed files with 6 additions and 2 deletions

View File

@ -20,7 +20,10 @@ class Config {
} }
fun load() { fun load() {
detailHeadwordFontSize.value = preferences.getInt(DETAIL_HEADWORD_FONT_SIZE_KEY, DEFAULT_DETAIL_HEADWORD_FONT_SIZE) detailHeadwordFontSize.value = preferences.getInt(
DETAIL_HEADWORD_FONT_SIZE_KEY,
DEFAULT_DETAIL_HEADWORD_FONT_SIZE
)
} }
fun reset() { fun reset() {

View File

@ -3,9 +3,10 @@ package com.marvinelsen.willow.ui.controllers
import com.marvinelsen.willow.Model import com.marvinelsen.willow.Model
import javafx.fxml.FXML import javafx.fxml.FXML
@Suppress("UnusedPrivateProperty", "UnusedPrivateMember")
class MainController(private val model: Model) { class MainController(private val model: Model) {
@FXML @FXML
@Suppress("UnusedPrivateMember")
private fun initialize() { private fun initialize() {
// no-op
} }
} }