mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
style(ktlint): Fix formatting in kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
ba56ee574c
commit
47e9c71ea9
@ -58,7 +58,8 @@ data class Conversation(
|
|||||||
@JsonField(name = ["actorType"])
|
@JsonField(name = ["actorType"])
|
||||||
var actorType: String = "",
|
var actorType: String = "",
|
||||||
|
|
||||||
var password: String? = null, // check if this can be removed.Does not belong to api response but is used internally?
|
// check if this can be removed. Doesn't belong to api-response but is used internally?
|
||||||
|
var password: String? = null,
|
||||||
|
|
||||||
@JsonField(name = ["isFavorite"])
|
@JsonField(name = ["isFavorite"])
|
||||||
var favorite: Boolean = false,
|
var favorite: Boolean = false,
|
||||||
|
@ -238,7 +238,7 @@ class DateTimePickerFragment : DialogFragment() {
|
|||||||
month,
|
month,
|
||||||
day,
|
day,
|
||||||
timePicker.hour,
|
timePicker.hour,
|
||||||
timePicker.minute,
|
timePicker.minute
|
||||||
)
|
)
|
||||||
setTimeStamp(getTimeFromTimeStamp(timestamp))
|
setTimeStamp(getTimeFromTimeStamp(timestamp))
|
||||||
currentTimeStamp = timestamp / ONE_SEC
|
currentTimeStamp = timestamp / ONE_SEC
|
||||||
@ -264,7 +264,7 @@ class DateTimePickerFragment : DialogFragment() {
|
|||||||
val calendar: Calendar = Calendar.getInstance().apply {
|
val calendar: Calendar = Calendar.getInstance().apply {
|
||||||
set(Calendar.YEAR, year)
|
set(Calendar.YEAR, year)
|
||||||
set(Calendar.MONTH, month)
|
set(Calendar.MONTH, month)
|
||||||
set(Calendar.DAY_OF_YEAR,day)
|
set(Calendar.DAY_OF_YEAR, day)
|
||||||
if (weekDay > -1) set(Calendar.DAY_OF_WEEK, weekDay)
|
if (weekDay > -1) set(Calendar.DAY_OF_WEEK, weekDay)
|
||||||
if (daysToAdd > 0) add(Calendar.DAY_OF_YEAR, daysToAdd)
|
if (daysToAdd > 0) add(Calendar.DAY_OF_YEAR, daysToAdd)
|
||||||
if (weekInYear != -1) set(Calendar.WEEK_OF_YEAR, weekInYear)
|
if (weekInYear != -1) set(Calendar.WEEK_OF_YEAR, weekInYear)
|
||||||
|
Loading…
Reference in New Issue
Block a user