Explorar el Código

Include Loop/Trio in the token error messages

Jonas Björkert hace 1 año
padre
commit
2c4232fa03

+ 1 - 1
LoopFollow/Remote/Loop/LoopNightscoutRemoteView.swift

@@ -16,7 +16,7 @@ struct LoopNightscoutRemoteView: View {
         NavigationView {
         NavigationView {
             if !nsAdmin.value {
             if !nsAdmin.value {
                 ErrorMessageView(
                 ErrorMessageView(
-                    message: "Please update your token to include the 'admin' role in order to do remote commands."
+                    message: "Please update your token to include the 'admin' role in order to do remote commands with Loop."
                 )} else {
                 )} else {
                     VStack {
                     VStack {
                         let columns = [
                         let columns = [

+ 1 - 1
LoopFollow/Remote/Loop/LoopOverrideView.swift

@@ -49,7 +49,7 @@ struct LoopOverrideView: View {
                     )
                     )
                 } else if !nsAdmin.value {
                 } else if !nsAdmin.value {
                     ErrorMessageView(
                     ErrorMessageView(
-                        message: "Please update your token to include the 'admin' role in order to do remote commands."
+                        message: "Please update your token to include the 'admin' role in order to do remote commands with Loop."
                     )
                     )
                 } else {
                 } else {
 
 

+ 1 - 1
LoopFollow/Remote/Nightscout/TrioNightscoutRemoteView.swift

@@ -52,7 +52,7 @@ struct TrioNightscoutRemoteView: View {
                     )
                     )
                 } else if !nsWriteAuth.value {
                 } else if !nsWriteAuth.value {
                     ErrorMessageView(
                     ErrorMessageView(
-                        message: "Please update your token to include the 'careportal' and 'readable' roles in order to do remote commands."
+                        message: "Please update your token to include the 'careportal' and 'readable' roles in order to do remote commands with Trio."
                     )
                     )
                 } else {
                 } else {
                     Form {
                     Form {