Skip to content

Commit a108d64

Browse files
committed
Cosmetic
1 parent 37df181 commit a108d64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/kotlin/info/appdev/chartexample/ScrollViewActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class ScrollViewActivity : DemoBase() {
4343
binding.chart1.setFitBars(true)
4444
}
4545

46+
@Suppress("SameParameterValue")
4647
private fun setData(count: Int) {
4748
val sampleValues = getValues(count)
4849
val values = ArrayList<BarEntry>()
@@ -80,6 +81,5 @@ class ScrollViewActivity : DemoBase() {
8081
return true
8182
}
8283

83-
public override fun saveToGallery() { /* Intentionally left empty */
84-
}
84+
public override fun saveToGallery() = Unit /* Intentionally left empty */
8585
}

0 commit comments

Comments
 (0)