diff --git a/lib/settings/bitcoin_settings_page.dart b/lib/settings/bitcoin_settings_page.dart index 206e6d0b..3ae98b1b 100644 --- a/lib/settings/bitcoin_settings_page.dart +++ b/lib/settings/bitcoin_settings_page.dart @@ -291,6 +291,8 @@ class TestNetButton extends StatelessWidget { Widget build(BuildContext context) { final testnet = context.select((NetworkCubit _) => _.state.testnet); + if (!testnet) return const SizedBox.shrink(); + return BlocListener( listenWhen: (previous, current) => previous.testnet != current.testnet, listener: (context, state) {