fix: make beta warning less alarming
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
STRING_UPGRADE_ACCOUNT_CONFIRM_BUTTON,
|
||||
} from '@/strings';
|
||||
import { PureViewCtrl } from '@Views/abstract/pure_view_ctrl';
|
||||
import { confirmDialog } from '@/services/alertService';
|
||||
import { alertDialog, confirmDialog } from '@/services/alertService';
|
||||
import { autorun, IReactionDisposer } from 'mobx';
|
||||
|
||||
/**
|
||||
@@ -568,6 +568,16 @@ class FooterViewCtrl extends PureViewCtrl<{}, {
|
||||
}
|
||||
}
|
||||
|
||||
displayBetaDialog() {
|
||||
alertDialog({
|
||||
title: 'You are using a beta version of the app',
|
||||
text:
|
||||
'If you wish to go back to a stable version, make sure to sign out ' +
|
||||
'before installing it.<br>You can silence this warning in the ' +
|
||||
'<em>Account</em> menu.'
|
||||
});
|
||||
}
|
||||
|
||||
clickOutsideAccountMenu() {
|
||||
if (this.application && this.application.authenticationInProgress()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user