File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/backups Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ fun ColumnScope.BackupsContent(
4646 if (currentBackup.type == " raw" ) {
4747 DataRow (
4848 label = stringResource(R .string.boot_sha1),
49- value = currentBackup.bootSha1!! .substring(0 , 8 ),
49+ value = currentBackup.bootSha1? .substring(0 , 8 ) ? : " " ,
5050 valueStyle = MaterialTheme .typography.titleSmall.copy(
5151 fontFamily = FontFamily .Monospace ,
5252 fontWeight = FontWeight .Medium
@@ -122,7 +122,7 @@ fun ColumnScope.BackupsContent(
122122 if (currentBackup.type == " raw" ) {
123123 DataRow (
124124 label = stringResource(R .string.boot_sha1),
125- value = currentBackup.bootSha1!! .substring(0 , 8 ),
125+ value = currentBackup.bootSha1? .substring(0 , 8 ) ? : " " ,
126126 valueStyle = MaterialTheme .typography.titleSmall.copy(
127127 fontFamily = FontFamily .Monospace ,
128128 fontWeight = FontWeight .Medium
You can’t perform that action at this time.
0 commit comments