mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 06:44:27 +01:00
default false diagnostics, style the welcome
This commit is contained in:
committed by
Tony Giorgio
parent
118b0745d2
commit
4cab32d8ca
@@ -313,7 +313,7 @@
|
|||||||
"zaps_to_hodl_enable": "Enable hodl zaps",
|
"zaps_to_hodl_enable": "Enable hodl zaps",
|
||||||
"zaps_to_hodl_disable": "Disable hodl zaps",
|
"zaps_to_hodl_disable": "Disable hodl zaps",
|
||||||
"enable_report_diagnostics": "Enable diagnostic reporting?",
|
"enable_report_diagnostics": "Enable diagnostic reporting?",
|
||||||
"report_diagnostics_desc": "Automatically report critical errors to the developers. All transaction data or other personal information is scrubed and anonymized.",
|
"report_diagnostics_desc": "Automatically report critical errors to the developers. All transaction data or other personal information is scrubbed and anonymized.",
|
||||||
"report_diagnostics_enable": "Enable diagnostics",
|
"report_diagnostics_enable": "Enable diagnostics",
|
||||||
"report_diagnostics_disable": "Disable diagnostics"
|
"report_diagnostics_disable": "Disable diagnostics"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export function Setup() {
|
|||||||
|
|
||||||
const [isCreatingNewWallet, setIsCreatingNewWallet] = createSignal(false);
|
const [isCreatingNewWallet, setIsCreatingNewWallet] = createSignal(false);
|
||||||
const [isDiagnosticReportingEnabled, setIsDiagnosticReportingEnabled] =
|
const [isDiagnosticReportingEnabled, setIsDiagnosticReportingEnabled] =
|
||||||
createSignal(true);
|
createSignal(false);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
// default is to set reporting
|
// default is to set reporting
|
||||||
@@ -83,9 +83,12 @@ export function Setup() {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1" />
|
<div class="flex-1" />
|
||||||
<p class="max-w-[15rem] text-center text-xs font-light text-m-grey-400">
|
<div class="flex max-w-[20rem] items-center justify-center gap-2 ">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
name="report_diagnostics"
|
||||||
|
id="report_diagnostics"
|
||||||
|
class="mr-2"
|
||||||
checked={isDiagnosticReportingEnabled()}
|
checked={isDiagnosticReportingEnabled()}
|
||||||
onChange={() =>
|
onChange={() =>
|
||||||
setIsDiagnosticReportingEnabled(
|
setIsDiagnosticReportingEnabled(
|
||||||
@@ -93,8 +96,13 @@ export function Setup() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<label
|
||||||
|
class="text-left text-xs font-light text-m-grey-400"
|
||||||
|
for="report_diagnostics"
|
||||||
|
>
|
||||||
{i18n.t("setup.initial.reporting")}
|
{i18n.t("setup.initial.reporting")}
|
||||||
</p>
|
</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DefaultMain>
|
</DefaultMain>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user