web/DownloadButton: slight refactor

This commit is contained in:
dumbmoron
2024-07-23 10:09:42 +00:00
parent 2d7d4cf091
commit 61e47b38d1
2 changed files with 35 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ type Dialog = {
buttons?: DialogButton[],
};
export type SmallDialog = Dialog & {
type SmallDialog = Dialog & {
type: "small",
meowbalt?: MeowbaltEmotions,
icon?: SmallDialogIcons,
@@ -29,7 +29,7 @@ export type SmallDialog = Dialog & {
bodySubText?: string,
};
export type PickerDialog = Dialog & {
type PickerDialog = Dialog & {
type: "picker",
items?: DialogPickerItem[],
};