Skip to content

Commit

Permalink
Fix: Session Card On homepage not showing image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry-Mochire authored and chepsi committed Oct 14, 2023
1 parent 9fffbf9 commit 70982d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
package com.android254.presentation.home.viewmodel

import androidx.compose.runtime.getValue
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.android254.domain.models.Session
Expand Down Expand Up @@ -111,7 +109,9 @@ class HomeViewModel @Inject constructor(
format = it.sessionFormat,
startDate = it.startDateTime,
endDate = it.endDateTime,
remoteId = it.remote_id
remoteId = it.remote_id,
isService = it.isServiceSession,
sessionImage = it.sessionImage ?: ""
)
}
}

0 comments on commit 70982d4

Please sign in to comment.