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 {
90
90
implementation(libs. material)
91
91
implementation(libs. okhttp)
92
92
implementation(libs. kotlinx. serialization. json)
93
+ implementation(" androidx.compose.runtime:runtime-livedata:1.6.0" )
93
94
}
Original file line number Diff line number Diff line change @@ -196,9 +196,7 @@ fun ColumnScope.SlotFlashContent(
196
196
viewModel.switchSlot(context)
197
197
},
198
198
shape = RoundedCornerShape (4 .dp),
199
- colors = ButtonDefaults .outlinedButtonColors(
200
- contentColor = MaterialTheme .colorScheme.primary
201
- )
199
+ colors = ButtonDefaults .outlinedButtonColors()
202
200
) {
203
201
Text (" CHANGE SLOT" )
204
202
}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import androidx.compose.runtime.snapshots.SnapshotStateList
14
14
import androidx.compose.runtime.snapshots.SnapshotStateMap
15
15
import androidx.lifecycle.ViewModel
16
16
import androidx.lifecycle.viewModelScope
17
+ import androidx.lifecycle.LiveData
17
18
import androidx.navigation.NavController
18
19
import com.github.capntrips.kernelflasher.common.PartitionUtil
19
20
import com.github.capntrips.kernelflasher.common.extensions.ByteArray.toHex
You can’t perform that action at this time.
0 commit comments