Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Fix crash in part measure screen
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitSuda committed Nov 18, 2022
1 parent 284bc4e commit 4dbae57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fun PartMeasurementsScreen(

val weightUnit = LocalAppSettings.current.weightUnit

val points by rememberSaveable(logs) {
val points by remember(logs) {
mutableStateOf(
if (logs?.isEmpty() == true) emptyList() else logs?.map {
LineChartData.Point(
Expand Down

0 comments on commit 4dbae57

Please sign in to comment.