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(
46
46
if (currentBackup.type == " raw" ) {
47
47
DataRow (
48
48
label = stringResource(R .string.boot_sha1),
49
- value = currentBackup.bootSha1!! .substring(0 , 8 ),
49
+ value = currentBackup.bootSha1? .substring(0 , 8 ) ? : " " ,
50
50
valueStyle = MaterialTheme .typography.titleSmall.copy(
51
51
fontFamily = FontFamily .Monospace ,
52
52
fontWeight = FontWeight .Medium
@@ -122,7 +122,7 @@ fun ColumnScope.BackupsContent(
122
122
if (currentBackup.type == " raw" ) {
123
123
DataRow (
124
124
label = stringResource(R .string.boot_sha1),
125
- value = currentBackup.bootSha1!! .substring(0 , 8 ),
125
+ value = currentBackup.bootSha1? .substring(0 , 8 ) ? : " " ,
126
126
valueStyle = MaterialTheme .typography.titleSmall.copy(
127
127
fontFamily = FontFamily .Monospace ,
128
128
fontWeight = FontWeight .Medium
You can’t perform that action at this time.
0 commit comments