mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 14:22:46 +02:00
split lyrics settings by key (#1389)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { openContextModal } from '@mantine/modals';
|
||||
|
||||
import i18n from '/@/i18n/i18n';
|
||||
|
||||
export const openLyricsSettingsModal = (settingsKey: string = 'default') => {
|
||||
openContextModal({
|
||||
innerProps: { settingsKey },
|
||||
modalKey: 'lyricsSettings',
|
||||
overlayProps: {
|
||||
blur: 0,
|
||||
opacity: 0,
|
||||
},
|
||||
size: 'xl',
|
||||
styles: {
|
||||
content: {
|
||||
height: '90%',
|
||||
maxWidth: '1400px',
|
||||
minHeight: '600px',
|
||||
width: '100%',
|
||||
},
|
||||
},
|
||||
title: i18n.t('common.setting_other', { postProcess: 'titleCase' }),
|
||||
transitionProps: {
|
||||
transition: 'pop',
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user