File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
app/src/main/kotlin/org/andstatus/todoagenda/prefs Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -363,8 +363,6 @@ data class InstanceSettings(
363363 const val PREF_ENTRY_DATE_FORMAT = " entryDateFormat"
364364 val PREF_ENTRY_DATE_FORMAT_DEFAULT : DateFormatValue = DateFormatType .HIDDEN .defaultValue
365365
366- @Deprecated(" " )
367- private val PREF_SHOW_NUMBER_OF_DAYS_TO_EVENT = " showNumberOfDaysToEvent" // till v 4.0
368366 const val PREF_MULTILINE_TITLE = " multiline_title"
369367 const val PREF_MULTILINE_TITLE_DEFAULT = false
370368 const val PREF_MAXLINES_TITLE = " maxLinesTitle"
@@ -543,11 +541,6 @@ data class InstanceSettings(
543541 DateFormatValue .load(
544542 json.getString(PREF_ENTRY_DATE_FORMAT ), PREF_ENTRY_DATE_FORMAT_DEFAULT
545543 )
546- } else if (json.has(PREF_SHOW_NUMBER_OF_DAYS_TO_EVENT )) {
547- (if (json.getBoolean(PREF_SHOW_NUMBER_OF_DAYS_TO_EVENT ) &&
548- eventEntryLayout == EventEntryLayout .ONE_LINE
549- ) DateFormatType .NUMBER_OF_DAYS else DateFormatType .HIDDEN )
550- .defaultValue
551544 } else EMPTY .entryDateFormat,
552545 showEndTime = if (json.has(PREF_SHOW_END_TIME )) {
553546 json.getBoolean(PREF_SHOW_END_TIME )
You can’t perform that action at this time.
0 commit comments