mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 12:38:24 +00:00
fix: opdate InstallAlertDialog to conditionally display "Always trust" switch based on user sign-in status
This commit is contained in:
@@ -84,6 +84,8 @@ class InstallAlertDialog extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
// Only show "Always trust" when signed in (requires signer to persist)
|
||||||
|
if (profile != null) ...[
|
||||||
const Gap(14),
|
const Gap(14),
|
||||||
Row(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
@@ -117,6 +119,7 @@ class InstallAlertDialog extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
],
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user