Skip to content

Commit

Permalink
feat(#661): improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Nov 15, 2024
1 parent 6904613 commit 8572ef9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/lib/login/pages/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ final labs = [
];

final healthXLab = DeepLinkShareFlowLab(
name: 'Health-X via Data Wallet App',
shareAppName: 'Data Wallet App',
name: 'HEALTH-X dataLOFT',
shareAppName: 'Consent Manager App',
);

@RoutePage()
Expand Down Expand Up @@ -142,16 +142,16 @@ class LoginPage extends HookWidget {
final loadingPossible = MetaData.instance.deepLinkSharePublishUrl != null;
return [
FullWidthButton(
'Import data from ${healthXLab.shareAppName}',
'Import data from ${healthXLab.name}',
() => _getDataFromLab(healthXLab, context),
color: Colors.orange,
enabled: loadingPossible,
),
if (!loadingPossible) ...[
SizedBox(height: PharMeTheme.smallSpace),
Text(
'Please first share your data with PharMe using the '
'${healthXLab.shareAppName}, so that PharMe can import them.',
'Share your data with PharMe using the${healthXLab.shareAppName}, '
'and return to PharMe to import them.',
style: PharMeTheme.textTheme.labelMedium,
textAlign: TextAlign.center,
),
Expand Down

0 comments on commit 8572ef9

Please sign in to comment.