Skip to content

Commit

Permalink
Merge pull request #489 from verdigado/483-members-tools-implementing…
Browse files Browse the repository at this point in the history
…-info-text

483: add not implemented yet info text
  • Loading branch information
volkramweber authored Jan 3, 2025
2 parents a184c0b + 0c41c4c commit 4405a44
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
14 changes: 12 additions & 2 deletions lib/features/profiles/screens/profiles_screen.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
import 'package:flutter/material.dart';
import 'package:gruene_app/app/theme/theme.dart';
import 'package:gruene_app/i18n/translations.g.dart';

class ProfilesScreen extends StatelessWidget {
const ProfilesScreen({super.key});

@override
Widget build(BuildContext context) {
return const Center(
child: Text('Profiles Screen'),
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.fromLTRB(24, 33, 24, 26),
child: Center(
child: Text(
t.common.notImplementedYet,
style: theme.textTheme.bodyLarge?.apply(color: ThemeColors.text),
textAlign: TextAlign.center,
),
),
);
}
}
14 changes: 12 additions & 2 deletions lib/features/tools/screens/tools_screen.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
import 'package:flutter/material.dart';
import 'package:gruene_app/app/theme/theme.dart';
import 'package:gruene_app/i18n/translations.g.dart';

class ToolsScreen extends StatelessWidget {
const ToolsScreen({super.key});

@override
Widget build(BuildContext context) {
return const Center(
child: Text('Tools Screen'),
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.fromLTRB(24, 33, 24, 26),
child: Center(
child: Text(
t.common.notImplementedYet,
style: theme.textTheme.bodyLarge?.apply(color: ThemeColors.text),
textAlign: TextAlign.center,
),
),
);
}
}
1 change: 1 addition & 0 deletions lib/i18n/app_de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"common": {
"appName": "Grüne App",
"error": "Fehler",
"notImplementedYet": "Diese Funktion befindet sich noch in der Entwicklung. Wir bitten um Verständnis.",
"actions": {
"save": "Speichern",
"cancel": "Abbrechen",
Expand Down

0 comments on commit 4405a44

Please sign in to comment.