mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
fix yesterdailies dialog
This commit is contained in:
parent
692d8ab723
commit
58fb5e465a
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit
|
|||
|
||||
class YesterdailyDialog private constructor(context: Context, private val userRepository: UserRepository, private val taskRepository: TaskRepository, private val tasks: List<Task>) : AlertDialog(context) {
|
||||
|
||||
private val yesterdailiesList: LinearLayout by bindView(R.id.yesterdailies_list)
|
||||
private lateinit var yesterdailiesList: LinearLayout
|
||||
|
||||
private val taskGray: Int by bindColor(context, R.color.task_gray)
|
||||
|
||||
|
|
@ -40,6 +40,9 @@ class YesterdailyDialog private constructor(context: Context, private val userRe
|
|||
|
||||
this.setOnDismissListener { runCron() }
|
||||
|
||||
//Can't use by bindView() because the view doesn't seem to be available through that yet
|
||||
yesterdailiesList = view.findViewById(R.id.yesterdailies_list)
|
||||
|
||||
createTaskViews(inflater)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue