Add desktop active proxy info

This commit is contained in:
problematicconsumer
2024-02-10 17:32:45 +03:30
parent f58b34df2b
commit 8f4d40026b
5 changed files with 154 additions and 8 deletions

View File

@@ -62,18 +62,17 @@ class HomePage extends HookConsumerWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expanded(
const Expanded(
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
const ConnectionButton(),
if (Platform.isAndroid || Platform.isIOS)
const ActiveProxyDelayIndicator(),
ConnectionButton(),
ActiveProxyDelayIndicator(),
],
),
),
if (Platform.isAndroid || Platform.isIOS)
if (MediaQuery.sizeOf(context).width < 840)
const ActiveProxyFooter(),
],
),