File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class CoreLoginSiteHelpPage {
3737 protected translate : TranslateService ,
3838 protected utils : CoreUtilsProvider ) {
3939
40- this . canScanQR = this . utils . canScanQR ( ) && false ; // @todo : Enable it for 3.9 release.
40+ this . canScanQR = this . utils . canScanQR ( ) ;
4141 this . urlImageHtml = CoreLoginHelperProvider . FAQ_URL_IMAGE_HTML ;
4242 this . qrCodeImageHtml = CoreLoginHelperProvider . FAQ_QRCODE_IMAGE_HTML ;
4343 this . setupLinkHtml = '<a href="https://moodle.com/getstarted/" title="' +
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ <h2 text-wrap>{{site.name}}<ng-container *ngIf="site.alias"> ({{site.alias}})</n
6060 < ng-container *ngIf ="!fixedSites && showScanQR && !hasSites && !enteredSiteUrl ">
6161 < div class ="core-login-site-qrcode-separator "> {{ 'core.login.or' | translate }}</ div >
6262 < ion-item >
63- < a ion-button block color ="light " margin-top icon-start (click) ="scanQR () ">
63+ < a ion-button block color ="light " margin-top icon-start (click) ="showInstructionsAndScanQR () ">
6464 < core-icon name ="fa-qrcode " aria-hidden ="true "> </ core-icon >
6565 {{ 'core.scanqr' | translate }}
6666 </ a >
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ export class CoreLoginSitePage {
279279 }
280280 ] ;
281281
282- // @TODO : Remove CoreSite.MINIMUM_MOODLE_VERSION, not used on translations since 3.8.3 .
282+ // @TODO : Remove CoreSite.MINIMUM_MOODLE_VERSION, not used on translations since 3.9.0 .
283283 this . domUtils . showAlertWithOptions ( {
284284 title : this . translate . instant ( 'core.cannotconnect' , { $a : CoreSite . MINIMUM_MOODLE_VERSION } ) ,
285285 message,
@@ -383,8 +383,6 @@ export class CoreLoginSitePage {
383383
384384 /**
385385 * Show instructions and scan QR code.
386- *
387- * @todo Use it in 3.9 release instead of scanQR.
388386 */
389387 showInstructionsAndScanQR ( ) : void {
390388 // Show some instructions first.
You can’t perform that action at this time.
0 commit comments