Skip to content

Commit

Permalink
Improve Wording in Settings, Add TUM.sexy Link
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkoerber committed Jan 16, 2025
1 parent e30502b commit 11c6ce0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"tokenPermissions": "Berechtigungen für Token",
"permissionChangePossibleInTUMonline": "Du kannst deine Berechtigungen in TUMOnline ändern",
"login": "Anmelden",
"logout": "Abmelden",
"notLoggedIn": "Nicht angemeldet!",
"profileError": "Profil konnte nicht geladen werden!",
"welcomeToTheApp": "Willkommen in der\n TUM Campus App",
Expand Down
1 change: 1 addition & 0 deletions assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"tokenPermissions": "Token Permissions",
"permissionChangePossibleInTUMonline": "You can change your permissions on TUMOnline",
"login": "Login",
"logout": "Logout",
"notLoggedIn": "Not Logged In!",
"profileError": "Error fetching profile!",
"welcomeToTheApp": "Welcome to the TUM Campus App",
Expand Down
5 changes: 5 additions & 0 deletions lib/settingsComponent/views/contact_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class ContactView extends ConsumerWidget {
link: "https://app.tum.de",
label: "TUM-Dev Website",
),
const HyperLinkListTile(
dense: true,
link: "https://tum.sexy/",
label: "TUM.sexy",
),
HyperLinkListTile(
dense: true,
link: "https://www.tum.dev/privacy",
Expand Down
2 changes: 1 addition & 1 deletion lib/settingsComponent/views/settings_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SettingsView extends ConsumerWidget {
textAlign: TextAlign.center,
)
: Text(
context.tr("resetLogin"),
context.tr("logout"),
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Colors.red,
fontWeight: FontWeight.w500,
Expand Down

0 comments on commit 11c6ce0

Please sign in to comment.