fix optional message at top to not overflow

This commit is contained in:
2025-06-12 20:10:31 -06:00
parent 5cde144585
commit 145f147ef0
2 changed files with 2 additions and 10 deletions

View File

@@ -344,14 +344,6 @@ Prerequisites: macOS with Xcode installed
npm run build:capacitor
```
2. In case dependencies change:
```bash
cd ios/App
pod install
cd -
```
3. Update iOS project with latest build:
```bash

View File

@@ -38,14 +38,14 @@ export default class TopMessage extends Vue {
settings.apiServer !== AppString.PROD_ENDORSER_API_SERVER
) {
const didPrefix = settings.activeDid?.slice(11, 15);
this.message = "You're linked to a non-prod server, user " + didPrefix;
this.message = "You're not using prod, user " + didPrefix;
} else if (
settings.warnIfProdServer &&
settings.apiServer === AppString.PROD_ENDORSER_API_SERVER
) {
const didPrefix = settings.activeDid?.slice(11, 15);
this.message =
"You're linked to the production server, user " + didPrefix;
"You are using prod, user " + didPrefix;
}
} catch (err: unknown) {
this.$notify(