File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,4 +90,5 @@ dependencies {
9090 implementation(libs. material)
9191 implementation(libs. okhttp)
9292 implementation(libs. kotlinx. serialization. json)
93+ implementation(" androidx.compose.runtime:runtime-livedata:1.6.0" )
9394}
Original file line number Diff line number Diff line change @@ -196,9 +196,7 @@ fun ColumnScope.SlotFlashContent(
196196 viewModel.switchSlot(context)
197197 },
198198 shape = RoundedCornerShape (4 .dp),
199- colors = ButtonDefaults .outlinedButtonColors(
200- contentColor = MaterialTheme .colorScheme.primary
201- )
199+ colors = ButtonDefaults .outlinedButtonColors()
202200 ) {
203201 Text (" CHANGE SLOT" )
204202 }
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import androidx.compose.runtime.snapshots.SnapshotStateList
1414import androidx.compose.runtime.snapshots.SnapshotStateMap
1515import androidx.lifecycle.ViewModel
1616import androidx.lifecycle.viewModelScope
17+ import androidx.lifecycle.LiveData
1718import androidx.navigation.NavController
1819import com.github.capntrips.kernelflasher.common.PartitionUtil
1920import com.github.capntrips.kernelflasher.common.extensions.ByteArray.toHex
You can’t perform that action at this time.
0 commit comments