mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-07-02 19:52:47 +03:00
fix: make startup dialogs harder to accidentally dismiss
This commit is contained in:
@@ -11,7 +11,7 @@ export default function useSettingsReviewDialog(dialog: DialogContextType): Prom
|
|||||||
if (needsReview.length > 0)
|
if (needsReview.length > 0)
|
||||||
dialog.pushCustom(
|
dialog.pushCustom(
|
||||||
<SettingsReviewDialog />,
|
<SettingsReviewDialog />,
|
||||||
undefined,
|
"alert",
|
||||||
() =>
|
() =>
|
||||||
{
|
{
|
||||||
settingsForReview.removeValue();
|
settingsForReview.removeValue();
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export default function useWelcomeDialog(dialog: DialogContextType): Promise<voi
|
|||||||
if (showWelcome || import.meta.env.DEV)
|
if (showWelcome || import.meta.env.DEV)
|
||||||
dialog.pushCustom(
|
dialog.pushCustom(
|
||||||
<WelcomeDialog />,
|
<WelcomeDialog />,
|
||||||
undefined,
|
"alert",
|
||||||
() =>
|
() =>
|
||||||
{
|
{
|
||||||
showWelcomeDialog.removeValue();
|
showWelcomeDialog.removeValue();
|
||||||
|
|||||||
Reference in New Issue
Block a user