Skip to content

Commit

Permalink
Merge pull request #64 from JoelKanyi/hotfix/home_screen_tasks_actions
Browse files Browse the repository at this point in the history
Hotfix/home screen tasks actions
  • Loading branch information
joelkanyi authored Oct 23, 2023
2 parents cd00f0a + 6bc0990 commit 5520fbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ android {
applicationId = "com.joelkanyi.focusbloom.android"
minSdk = 21
targetSdk = compileSdk
versionCode = 3
versionName = "1.0.2"
versionCode = 4
versionName = "1.0.3"
}
buildTypes {
// debug
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fun HomeScreen() {
if (openBottomSheet) {
if (selectedTask != null) {
TaskOptionsBottomSheet(
type = if (selectedTask.date < today()) {
type = if (selectedTask.date.date < today().date) {
"overdue"
} else {
"today"
Expand Down Expand Up @@ -168,7 +168,7 @@ fun HomeScreen() {
longBreakTime = longBreakTime,
username = username,
onClickTask = {
if (it.date < today()) {
if (it.date.date < today().date) {
screenModel.selectTask(it)
screenModel.openBottomSheet(true)
} else {
Expand Down

0 comments on commit 5520fbf

Please sign in to comment.