モバイル版のウィジェット復活
This commit is contained in:
parent
5c38084af5
commit
a1692ebc7c
5 changed files with 71 additions and 36 deletions
|
|
@ -48,6 +48,17 @@ export class HomeStream extends Stream {
|
|||
}
|
||||
});
|
||||
|
||||
this.on('mobile_home_updated', x => {
|
||||
if (x.home) {
|
||||
os.store.commit('settings/setMobileHome', x.home);
|
||||
} else {
|
||||
os.store.commit('settings/setMobileHomeWidget', {
|
||||
id: x.id,
|
||||
data: x.data
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// トークンが再生成されたとき
|
||||
// このままではMisskeyが利用できないので強制的にサインアウトさせる
|
||||
this.on('my_token_regenerated', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue