move STORED_LOCALLY_ONLY constant in Constants.kt

This commit is contained in:
tibbi 2017-12-02 17:28:17 +01:00
parent a105d270c0
commit e9b09ad88b
3 changed files with 2 additions and 5 deletions

View File

@ -23,10 +23,6 @@ import org.joda.time.DateTime
import java.util.* import java.util.*
class EventActivity : SimpleActivity() { class EventActivity : SimpleActivity() {
companion object {
val STORED_LOCALLY_ONLY = 0
}
private var mReminder1Minutes = 0 private var mReminder1Minutes = 0
private var mReminder2Minutes = 0 private var mReminder2Minutes = 0
private var mReminder3Minutes = 0 private var mReminder3Minutes = 0

View File

@ -7,9 +7,9 @@ import android.view.ViewGroup
import android.widget.RadioButton import android.widget.RadioButton
import android.widget.RadioGroup import android.widget.RadioGroup
import com.simplemobiletools.calendar.R import com.simplemobiletools.calendar.R
import com.simplemobiletools.calendar.activities.EventActivity.Companion.STORED_LOCALLY_ONLY
import com.simplemobiletools.calendar.extensions.config import com.simplemobiletools.calendar.extensions.config
import com.simplemobiletools.calendar.extensions.dbHelper import com.simplemobiletools.calendar.extensions.dbHelper
import com.simplemobiletools.calendar.helpers.STORED_LOCALLY_ONLY
import com.simplemobiletools.calendar.models.CalDAVCalendar import com.simplemobiletools.calendar.models.CalDAVCalendar
import com.simplemobiletools.commons.extensions.setBackgroundWithStroke import com.simplemobiletools.commons.extensions.setBackgroundWithStroke
import com.simplemobiletools.commons.extensions.setupDialogStuff import com.simplemobiletools.commons.extensions.setupDialogStuff

View File

@ -4,6 +4,7 @@ import com.simplemobiletools.calendar.R
val LOW_ALPHA = .3f val LOW_ALPHA = .3f
val MEDIUM_ALPHA = .6f val MEDIUM_ALPHA = .6f
val STORED_LOCALLY_ONLY = 0
val DAY_CODE = "day_code" val DAY_CODE = "day_code"
val YEAR_LABEL = "year" val YEAR_LABEL = "year"