Skip to content

Commit

Permalink
Merge pull request #69 from TimerTiTi/release-0.2.3
Browse files Browse the repository at this point in the history
Release 0.2.3
  • Loading branch information
koreatlwls authored Feb 24, 2024
2 parents 4f5cdba + dc1596b commit 84fc134
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object BuildType {

object AppConfig {
const val APP_ID = "com.titi.app"
const val APP_VERSION_NAME = "0.2.2"
const val APP_VERSION_CODE = 8
const val APP_VERSION_NAME = "0.2.3"
const val APP_VERSION_CODE = 9
const val APP_NAME = "TiTi"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.titi.app.feature.log.model

import com.airbnb.mvrx.MavericksState
import com.titi.app.core.designsystem.extension.getTimeString
import com.titi.app.core.designsystem.extension.getWeekInformation
import com.titi.app.core.designsystem.extension.makeDefaultWeekLineChardData
import com.titi.app.core.designsystem.model.TdsTaskData
Expand Down Expand Up @@ -70,8 +71,8 @@ data class HomeUiState(

data class HomeWeekGraphData(
val weekInformation: Triple<String, String, String> = LocalDate.now().getWeekInformation(),
val totalWeekTime: String = "",
val averageWeekTime: String = "",
val totalWeekTime: String = 0L.getTimeString(),
val averageWeekTime: String = 0L.getTimeString(),
val weekLineChartData: List<TdsWeekLineChartData> =
LocalDate.now().makeDefaultWeekLineChardData(),
)
Expand All @@ -92,8 +93,8 @@ data class DailyUiState(
)

data class DailyGraphData(
val totalTime: String = "",
val maxTime: String = "",
val totalTime: String = 0L.getTimeString(),
val maxTime: String = 0L.getTimeString(),
val timeLine: List<Long> = LongArray(24) { 0L }.toList(),
val taskData: List<TdsTaskData> = emptyList(),
val tdsTimeTableData: List<TdsTimeTableData> = emptyList(),
Expand All @@ -107,10 +108,10 @@ data class WeekUiState(

data class WeekGraphData(
val weekInformation: Triple<String, String, String> = LocalDate.now().getWeekInformation(),
val totalWeekTime: String = "",
val averageWeekTime: String = "",
val totalWeekTime: String = 0L.getTimeString(),
val averageWeekTime: String = 0L.getTimeString(),
val weekLineChartData: List<TdsWeekLineChartData> =
LocalDate.now().makeDefaultWeekLineChardData(),
val topLevelTaskTotal: String = "",
val topLevelTaskTotal: String = 0L.getTimeString(),
val topLevelTdsTaskData: List<TdsTaskData> = emptyList(),
)
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,18 @@ fun Day(
} else {
Color.Transparent
},
).align(Alignment.Center),
)
.align(Alignment.Center),
contentAlignment = Alignment.Center,
) {
Text(
text = day.date.dayOfMonth.toString(),
color = if (day.position == DayPosition.MonthDate) {
TdsColor.TEXT.getColor()
if (isSelected) {
TdsColor.BACKGROUND.getColor()
} else {
TdsColor.TEXT.getColor()
}
} else {
Color.Gray
},
Expand Down

0 comments on commit 84fc134

Please sign in to comment.