UPDATE: Backgroud setting, Remake ui/ux
This commit is contained in:
@@ -53,7 +53,7 @@ export default function CloseModal({
|
||||
className="btn btn-warning"
|
||||
onClick={async () => {
|
||||
onClose()
|
||||
const [success, message] = await AppService.MinimizeApp()
|
||||
const [success, message] = await AppService.HideApp()
|
||||
if (!success) toast.error(message)
|
||||
if (!closingOption.isAsk) {
|
||||
setClosingOption({ isMinimize: true, isAsk: false })
|
||||
|
||||
Reference in New Issue
Block a user