支持 iOS 密钥数据库导入 #32

Merged
lsr merged 4 commits from feat/import-ios-keys into main 2023-06-15 23:19:02 +00:00
Showing only changes of commit 244a1b002d - Show all commits

View File

@ -45,22 +45,25 @@ export function PanelQMCv2Key() {
QMCv2 QMCv2
</Heading> </Heading>
<Text>QQ QMCv2 Mac </Text> <Text>
QQ QMCv2使QQ Mac iOS
线
</Text>
<Box pb={2} pt={2}> <Box pb={2} pt={2}>
<ButtonGroup isAttached variant="outline"> <ButtonGroup isAttached colorScheme="purple" variant="outline">
<Button onClick={addKey} leftIcon={<Icon as={MdAdd} />}> <Button onClick={addKey} leftIcon={<Icon as={MdAdd} />}>
</Button> </Button>
<Menu> <Menu>
<MenuButton as={IconButton} icon={<MdExpandMore />}></MenuButton> <MenuButton as={IconButton} icon={<MdExpandMore />}></MenuButton>
<MenuList> <MenuList>
<MenuItem onClick={() => setShowImportModal(true)} icon={<Icon as={MdFileUpload} boxSize={5} />}> <MenuItem onClick={() => setShowImportModal(true)} icon={<Icon as={MdFileUpload} boxSize={5} />}>
</MenuItem> </MenuItem>
<MenuDivider /> <MenuDivider />
<MenuItem color="red" onClick={clearAll} icon={<Icon as={MdDeleteForever} boxSize={5} />}> <MenuItem color="red" onClick={clearAll} icon={<Icon as={MdDeleteForever} boxSize={5} />}>
</MenuItem> </MenuItem>
</MenuList> </MenuList>
</Menu> </Menu>