Compare commits

...

2 Commits

Author SHA1 Message Date
e18d0ba99d color changes to use a darker theme 2025-05-15 16:34:27 +02:00
31e1d75fe0 remove useless verification for non-null type 2025-05-15 16:17:01 +02:00
3 changed files with 7 additions and 7 deletions

View File

@ -191,7 +191,7 @@ class MainActivity : AppCompatActivity() {
xAxis.apply {
position = XAxis.XAxisPosition.BOTTOM
valueFormatter = object : ValueFormatter() {
override fun getFormattedValue(value: Float): String? {
override fun getFormattedValue(value: Float): String {
return "${value.toInt()}s"
}
}

View File

@ -66,7 +66,7 @@
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="8dp"
android:background="@android:color/white"
android:background="@color/colorBackground"
app:layout_constraintTop_toBottomOf="@id/temp_circle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@ -80,7 +80,7 @@
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:background="@android:color/white"
android:background="@color/colorBackground"
app:layout_constraintTop_toBottomOf="@id/temp_chart"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary_light">#00246B</color>
<color name="colorPrimary_dark">#CADCFC</color>
<color name="colorAccent">#97BAF8</color>
<color name="colorBackground">#97BAF8</color>
<color name="colorPrimary_light">#3D2F71</color>
<color name="colorPrimary_dark">#141118</color>
<color name="colorAccent">#343434</color>
<color name="colorBackground">#141118</color>
</resources>