Adds missing "this"

hh
Laurent 6 years ago
parent e244158db4
commit f7095db30c
  1. 10
      app/src/main/java/net/pokeranalytics/android/ui/fragment/report/ProgressReportFragment.kt

@ -70,21 +70,21 @@ class ProgressReportFragment : AbstractReportFragment() {
val fragmentManager = parentActivity?.supportFragmentManager
val fragmentTransaction = fragmentManager?.beginTransaction()
graphFragment = GraphFragment.newInstance(GraphFragment.Style.LINE)
fragmentTransaction?.add(R.id.graphContainer, graphFragment)
this.graphFragment = GraphFragment.newInstance(GraphFragment.Style.LINE)
fragmentTransaction?.add(R.id.graphContainer, this.graphFragment)
fragmentTransaction?.commit()
this.stat.aggregationTypes.firstOrNull()?.let {
reports[it] = this.selectedReport
this.reports[it] = this.selectedReport
}
this.stat.aggregationTypes.firstOrNull()?.let { aggregationType ->
reports[aggregationType]?.let { report ->
this.reports[aggregationType]?.let { report ->
setGraphData(report, aggregationType)
}
}
val aggregationTypes = stat.aggregationTypes
val aggregationTypes = this.stat.aggregationTypes
aggregationTypes.forEachIndexed { index, type ->
val chip = Chip(requireContext())

Loading…
Cancel
Save