diff --git a/lib/data/model/app/tab.dart b/lib/data/model/app/tab.dart index 336e78fa8..02f8a597b 100644 --- a/lib/data/model/app/tab.dart +++ b/lib/data/model/app/tab.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:toolbox/view/page/ping.dart'; import 'package:toolbox/view/page/server/tab.dart'; import 'package:toolbox/view/page/snippet/list.dart'; import 'package:toolbox/view/page/ssh/tab.dart'; @@ -7,6 +8,7 @@ enum AppTab { server, ssh, snippet, + ping, ; Widget get page { @@ -17,6 +19,8 @@ enum AppTab { return const SnippetListPage(); case ssh: return const SSHTabPage(); + case ping: + return const PingPage(); } } } diff --git a/lib/view/page/home.dart b/lib/view/page/home.dart index 73e53774c..4002c9a84 100644 --- a/lib/view/page/home.dart +++ b/lib/view/page/home.dart @@ -173,6 +173,11 @@ class _HomePageState extends State label: l10n.snippet, selectedIcon: const Icon(Icons.snippet_folder), ), + const NavigationDestination( + icon: Icon(Icons.network_check_outlined), + label: 'Ping', + selectedIcon: Icon(Icons.network_check), + ), ], ); }