Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ fun SlotCard(
if(isSlotScreen && viewModel.slotSuffix != "")
{
DataRow(
label = "Unbootable",
label = stringResource(R.string.unbootable),
value = viewModel.slotInfo.bootSlotInfo.unbootable ?: stringResource(R.string.not_found),
mutableMaxWidth = cardWidth,
valueColor = if (viewModel.slotInfo.bootSlotInfo.unbootable == "Yes") Color.Red else Color.Unspecified
)
DataRow(
label = "Successful",
label = stringResource(R.string.successful),
value = viewModel.slotInfo.bootSlotInfo.successful ?: stringResource(R.string.not_found),
mutableMaxWidth = cardWidth,
valueColor = if (viewModel.slotInfo.bootSlotInfo.successful == "No") Color.Red else Color.Unspecified
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@
<string name="backup_now">Backup Partizioni Selezionate</string>
<string name="vendor_boot_fmt">Formato vendor_boot.img</string>
<string name="active">Attivo</string>
<string name="unbootable">Non avviabile</string>
<string name="successful">Riuscito</string>
<!-- TODO: Make error and success messages string resources -->
</resources>
4 changes: 3 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@
<string name="backup_now">Backup Selected Partitions</string>
<string name="vendor_boot_fmt">vendor_boot.img Format</string>
<string name="active">Active</string>
<string name="unbootable">Unbootable</string>
<string name="successful">Successful</string>
<!-- TODO: Make error and success messages string resources -->
</resources>
</resources>