mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 06:14:21 +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_disable": "Disable hodl zaps",
|
||||
"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_disable": "Disable diagnostics"
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ export function Setup() {
|
||||
|
||||
const [isCreatingNewWallet, setIsCreatingNewWallet] = createSignal(false);
|
||||
const [isDiagnosticReportingEnabled, setIsDiagnosticReportingEnabled] =
|
||||
createSignal(true);
|
||||
createSignal(false);
|
||||
const navigate = useNavigate();
|
||||
|
||||
// default is to set reporting
|
||||
@@ -83,9 +83,12 @@ export function Setup() {
|
||||
</Button>
|
||||
</div>
|
||||
<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
|
||||
type="checkbox"
|
||||
name="report_diagnostics"
|
||||
id="report_diagnostics"
|
||||
class="mr-2"
|
||||
checked={isDiagnosticReportingEnabled()}
|
||||
onChange={() =>
|
||||
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")}
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</DefaultMain>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user