ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
88 stars 8 forks source link

(#146) Hide empty columns on Agile and Usage screens #182

Closed ryanw-mobile closed 1 month ago

ryanw-mobile commented 1 month ago

We had a quick but unreliable way to remove the last empty column. That works only within a rateCellsGroup. This implementation takes into considerations all rateCellsGroups, so that if globally we have an empty last column, it flags for the composable to remove them during rendering (instead of modifying the data set)