From fbd2759d4f559ab558051309f5c66e1ed81ba5c4 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 5 Oct 2023 14:41:40 -0400 Subject: [PATCH] Replace 'DN' with 'Managed Nebula' (#139) --- lib/screens/EnrollmentScreen.dart | 2 +- lib/screens/SettingsScreen.dart | 2 +- nebula/mobileNebula.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/screens/EnrollmentScreen.dart b/lib/screens/EnrollmentScreen.dart index 4b3a609..ff69d5b 100644 --- a/lib/screens/EnrollmentScreen.dart +++ b/lib/screens/EnrollmentScreen.dart @@ -156,7 +156,7 @@ class _EnrollmentScreenState extends State { final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg'; return SimplePage( - title: Text('Enroll with DN', style: TextStyle(fontWeight: FontWeight.bold)), + title: Text('Enroll with Managed Nebula', style: TextStyle(fontWeight: FontWeight.bold)), child: Padding(child: child, padding: EdgeInsets.symmetric(horizontal: 10)), alignment: alignment ); diff --git a/lib/screens/SettingsScreen.dart b/lib/screens/SettingsScreen.dart index ee0af8f..d287e6b 100644 --- a/lib/screens/SettingsScreen.dart +++ b/lib/screens/SettingsScreen.dart @@ -89,7 +89,7 @@ class _SettingsScreenState extends State { final dnIcon = Theme.of(context).brightness == Brightness.dark ? 'images/dn-logo-dark.svg' : 'images/dn-logo-light.svg'; items.add(ConfigSection(children: [ ConfigPageItem( - label: Text('Enroll with DN'), + label: Text('Enroll with Managed Nebula'), labelWidth: 200, onPressed: () => Utils.openPage(context, (context) => EnrollmentScreen(stream: widget.stream, allowCodeEntry: true)) ) diff --git a/nebula/mobileNebula.go b/nebula/mobileNebula.go index be944b0..64e1a42 100644 --- a/nebula/mobileNebula.go +++ b/nebula/mobileNebula.go @@ -60,7 +60,7 @@ func RenderConfig(configData string, key string) (string, error) { if err != nil { return "", err } - return "# DN-managed config\n" + string(yamlCfg), nil + return "# Managed Nebula Config (defined.net)\n" + string(yamlCfg), nil } // Otherwise, build the config