Minor date format code cleanup

This commit is contained in:
arkon
2020-01-28 22:32:56 -05:00
parent aeacdad484
commit c707d4bfd8
6 changed files with 31 additions and 22 deletions
@@ -66,7 +66,9 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
*/
private val preferences: PreferencesHelper by injectLazy()
val dateFormat: DateFormat = preferences.dateFormat().getOrDefault()
private val dateFormat: DateFormat by lazy {
preferences.dateFormat().getOrDefault()
}
init {
setHasOptionsMenu(true)