mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 00:03:51 +09:00
refactor(client): refactor dialog functions to improve type inference
This commit is contained in:
@ -59,10 +59,9 @@ export default defineComponent({
|
||||
async apply() {
|
||||
localStorage.setItem('customCss', this.localCustomCss);
|
||||
|
||||
const { canceled } = await os.dialog({
|
||||
const { canceled } = await os.confirm({
|
||||
type: 'info',
|
||||
text: this.$ts.reloadToApplySetting,
|
||||
showCancelButton: true
|
||||
});
|
||||
if (canceled) return;
|
||||
|
||||
|
Reference in New Issue
Block a user