Skip to content

Commit ed147f2

Browse files
committed
Update AboutScreen.kt
1 parent 7797c2b commit ed147f2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/src/main/kotlin/dev/teogor/ceres/feature/about/AboutScreen.kt

+6-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package dev.teogor.ceres.feature.about
1818

19+
import android.os.Build
1920
import androidx.compose.foundation.layout.Spacer
2021
import androidx.compose.foundation.layout.height
2122
import androidx.compose.material.icons.Icons
@@ -100,9 +101,11 @@ private fun AboutLayout() = LazyColumnLayoutBase(
100101

101102
// BuildConfigBet
102103

103-
aboutBuildDate(
104-
BuildProfile.buildLocalDateTime,
105-
)
104+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
105+
aboutBuildDate(
106+
BuildProfile.buildLocalDateTime,
107+
)
108+
}
106109

107110
aboutHeaderAboutUs()
108111

0 commit comments

Comments
 (0)