File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 44
55Threefold Connect is a mobile app that serves as your main gateway to the Threefold Grid and various other Threefold products and services.
66
7+ ## Documentation
8+
9+ For detailed user documentation and guides, please visit the [ TFConnect User Guide] ( https://manual.grid.tf/labs/documentation/tfconnect_toc ) .
10+
711## App
812
913## Local development
Original file line number Diff line number Diff line change @@ -224,6 +224,11 @@ class _PreferenceScreenState extends ConsumerState<PreferenceScreen> {
224224 title: const Text ('Terms and conditions' ),
225225 onTap: () async => {await _showTermsAndConds ()},
226226 ),
227+ ListTile (
228+ leading: const Icon (Icons .help_outline),
229+ title: const Text ('View Documentation' ),
230+ onTap: () async => {await _showDocumentation ()},
231+ ),
227232 ListTile (
228233 leading: const Icon (Icons .logout_outlined),
229234 title: Text (
@@ -459,6 +464,15 @@ class _PreferenceScreenState extends ConsumerState<PreferenceScreen> {
459464 await launchUrl (Uri .parse (url));
460465 }
461466
467+ Future <void > _showDocumentation () async {
468+ const String url = 'https://manual.grid.tf/labs/documentation/tfconnect_toc' ;
469+
470+ final Uri uri = Uri .parse (url);
471+ if (await canLaunchUrl (uri)) {
472+ await launchUrl (uri, mode: LaunchMode .externalApplication);
473+ }
474+ }
475+
462476 void _showVersionInfo () {
463477 try {
464478 AppConfig appConfig = AppConfig ();
You can’t perform that action at this time.
0 commit comments