Fix bug
This commit is contained in:
parent
51ed3a6fad
commit
08ce6b895c
48 changed files with 279 additions and 140 deletions
|
|
@ -23,7 +23,7 @@ export default async function(mios: MiOS, force = false, silent = false) {
|
|||
}
|
||||
|
||||
if (!silent) {
|
||||
alert('%i18n:common.update-available%'.replace('{newer}', newer).replace('{current}', current));
|
||||
alert('%i18n:!common.update-available%'.replace('{newer}', newer).replace('{current}', current));
|
||||
}
|
||||
|
||||
return newer;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export class HomeStream extends Stream {
|
|||
// トークンが再生成されたとき
|
||||
// このままではAPIが利用できないので強制的にサインアウトさせる
|
||||
this.on('my_token_regenerated', () => {
|
||||
alert('%i18n:common.my-token-regenerated%');
|
||||
alert('%i18n:!common.my-token-regenerated%');
|
||||
os.signout();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue