minor code style and strings update

This commit is contained in:
tibbi
2017-09-22 22:52:49 +02:00
parent 5b3040ee9e
commit 1ee9524a15
17 changed files with 80 additions and 106 deletions

View File

@ -139,7 +139,6 @@ class SettingsActivity : SimpleActivity() {
}
}
private fun getCurrentWidgetNoteTitle(currentNoteId: Int, notes: List<Note>): String {
return notes.firstOrNull { it.id == currentNoteId }?.title ?: ""
}
private fun getCurrentWidgetNoteTitle(currentNoteId: Int, notes: List<Note>) =
notes.firstOrNull { it.id == currentNoteId }?.title ?: ""
}