mirror of
https://github.com/git-touch/git-touch
synced 2025-01-31 08:04:51 +01:00
fix: use spdx id of license
This commit is contained in:
parent
08e7c99c64
commit
1a9f7083ee
@ -98,7 +98,7 @@ class RepoScreen extends StatelessWidget {
|
|||||||
}
|
}
|
||||||
licenseInfo {
|
licenseInfo {
|
||||||
name
|
name
|
||||||
nickname
|
spdxId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -274,7 +274,7 @@ class RepoScreen extends StatelessWidget {
|
|||||||
text: Text('License'),
|
text: Text('License'),
|
||||||
rightWidget: Text(payload['licenseInfo'] == null
|
rightWidget: Text(payload['licenseInfo'] == null
|
||||||
? 'Unknown'
|
? 'Unknown'
|
||||||
: (payload['licenseInfo']['nickname'] ??
|
: (payload['licenseInfo']['spdxId'] ??
|
||||||
payload['licenseInfo']['name'])
|
payload['licenseInfo']['name'])
|
||||||
.toString()),
|
.toString()),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user