mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-27 11:07:49 -05:00
fix: use spdx id of license
This commit is contained in:
@@ -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()),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user