Skip to content

Commit

Permalink
[SHv2] Update header texts of modules
Browse files Browse the repository at this point in the history
Screen record: https://drive.google.com/corp/drive/folders/1JSyGjQnLLhXx9gZNPlHQyS0qfx-FBmUY

Change-Id: I8008860567cf8437a3dc04b18434c226c9e62325
Bug: 1443466
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4956738
Reviewed-by: Martin Šrámek <msramek@chromium.org>
Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1213113}
  • Loading branch information
Side Yilmaz authored and Chromium LUCI CQ committed Oct 21, 2023
1 parent 80f3fd8 commit d2215bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ export class SettingsSafetyHubNotificationPermissionsModuleElement extends
}

private async setHeaderToCompletionState_() {
this.headerString_ =
this.headerString_ = this.toastText_ ?
this.toastText_ :
this.i18n('safetyCheckNotificationPermissionReviewDoneLabel');
this.subheaderString_ = '';
this.headerIconString_ = 'cr:check';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ export class SettingsSafetyHubUnusedSitePermissionsModuleElement extends
}

private setHeaderToCompletionState_() {
this.headerString_ = this.i18n('safetyCheckUnusedSitePermissionsDoneLabel');
this.headerString_ = this.toastText_ ?
this.toastText_ :
this.i18n('safetyCheckUnusedSitePermissionsDoneLabel');
this.subheaderString_ = '';
this.headerIconString_ = 'cr:check';
}
Expand Down

0 comments on commit d2215bc

Please sign in to comment.