File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const _publicFlags = <PublicFlag>{
1414
1515final _allFlags = < String > {
1616 'dark-as-default' ,
17- 'license ' ,
17+ 'expose-licence-diff ' ,
1818 ..._publicFlags.map ((x) => x.name),
1919};
2020
@@ -89,7 +89,7 @@ class ExperimentalFlags {
8989
9090 bool get isDarkModeDefault => isEnabled ('dark-as-default' );
9191
92- late final isLicenseEnabled = isEnabled ('license ' );
92+ late final isExposeLicenseDiffEnabled = isEnabled ('expose-licence-diff ' );
9393
9494 String encodedAsCookie () => _enabled.join (':' );
9595
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ Tab _licenseTab(PackagePageData data) {
389389 if (! data.hasLicense) {
390390 content = d.text ('No license file found.' );
391391 } else if (hasEditOpData &&
392- requestContext.experimentalFlags.isLicenseEnabled ) {
392+ requestContext.experimentalFlags.isExposeLicenseDiffEnabled ) {
393393 final text = data.asset! .textContent! ;
394394 final opAndLicensePairs =
395395 licenses
You can’t perform that action at this time.
0 commit comments