fix activity start

This commit is contained in:
Milos Kozak 2022-11-15 12:20:53 +01:00
parent 16fda48d12
commit 7ef2941d0c

View file

@ -171,8 +171,8 @@ class ActionsFragment : DaggerFragment() {
protectionCheck.queryProtection(activity, ProtectionCheck.Protection.BOLUS, UIRunnable { activityNames.runFillDialog(childFragmentManager) })
}
}
binding.historyBrowser.setOnClickListener { startActivity(Intent(context, activityNames.historyBrowseActivity::class.java)) }
binding.tddStats.setOnClickListener { startActivity(Intent(context, activityNames.tddStatsActivity::class.java)) }
binding.historyBrowser.setOnClickListener { startActivity(Intent(context, activityNames.historyBrowseActivity)) }
binding.tddStats.setOnClickListener { startActivity(Intent(context, activityNames.tddStatsActivity)) }
binding.bgCheck.setOnClickListener {
activityNames.runCareDialog(childFragmentManager, ActivityNames.EventType.BGCHECK, R.string.careportal_bgcheck)
}