mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 17:39:42 +00:00
fix: missclicked on "Approve" button
This commit is contained in:
parent
79fae03e9b
commit
76d93ab782
|
@ -132,8 +132,36 @@ class _DomainPickerState extends State<DomainPicker> {
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
if (state is Empty) ...[
|
||||||
|
const SizedBox(height: 30),
|
||||||
|
BrandButton.filled(
|
||||||
|
onPressed: () => context.read<DomainSetupCubit>().load(),
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
const Icon(
|
||||||
|
Icons.refresh,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
const SizedBox(width: 10),
|
||||||
|
Text(
|
||||||
|
'domain.update_list'.tr(),
|
||||||
|
style: Theme.of(context).textTheme.bodyLarge,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
if (state is Loaded) ...[
|
||||||
|
const SizedBox(height: 32),
|
||||||
|
BrandButton.filled(
|
||||||
|
onPressed: () =>
|
||||||
|
context.read<DomainSetupCubit>().saveDomain(state.domain),
|
||||||
|
text: 'initializing.save_domain'.tr(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue