Fix detekt issues
This commit is contained in:
parent
02257b7e6b
commit
fee7cbf260
@ -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() {
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user