diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/DashPodHistoryActivity.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/DashPodHistoryActivity.kt index b47c7045f6..28cf076259 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/DashPodHistoryActivity.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/ui/DashPodHistoryActivity.kt @@ -144,7 +144,7 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() { setContentView(R.layout.omnipod_dash_pod_history_activity) prepareData() - recyclerView = findViewById(R.id.omnipod_history_recyclerview) + recyclerView = findViewById(R.id.omnipod_history_recyclerview) recyclerViewAdapter = RecyclerViewAdapter(filteredHistoryList) linearLayoutManager = LinearLayoutManager(this) recyclerView?.run { @@ -153,10 +153,10 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() { adapter = recyclerViewAdapter } - statusView = findViewById(R.id.omnipod_historystatus) + statusView = findViewById(R.id.omnipod_historystatus) statusView?.run { visibility = View.GONE } - historyTypeSpinner = findViewById(R.id.omnipod_historytype) + historyTypeSpinner = findViewById(R.id.omnipod_historytype) typeListFull = getTypeList(PumpHistoryEntryGroup.Companion.getTranslatedList(resourceHelper)) val spinnerAdapter: ArrayAdapter = ArrayAdapter(this, R.layout.spinner_centered, typeListFull!!) historyTypeSpinner?.run { @@ -269,9 +269,9 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() { } inner class HistoryViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - val timeView: TextView = itemView.findViewById(R.id.omnipod_history_time) - val typeView: TextView = itemView.findViewById(R.id.omnipod_history_source) - val valueView: TextView = itemView.findViewById(R.id.omnipod_history_description) + val timeView: TextView = itemView.findViewById(R.id.omnipod_history_time) + val typeView: TextView = itemView.findViewById(R.id.omnipod_history_source) + val valueView: TextView = itemView.findViewById(R.id.omnipod_history_description) } }