mirror of
https://github.com/git-touch/git-touch
synced 2025-01-19 02:40:05 +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 {
|
||||
name
|
||||
nickname
|
||||
spdxId
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -274,7 +274,7 @@ class RepoScreen extends StatelessWidget {
|
||||
text: Text('License'),
|
||||
rightWidget: Text(payload['licenseInfo'] == null
|
||||
? 'Unknown'
|
||||
: (payload['licenseInfo']['nickname'] ??
|
||||
: (payload['licenseInfo']['spdxId'] ??
|
||||
payload['licenseInfo']['name'])
|
||||
.toString()),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user