Compare commits

..

No commits in common. "f0415a22dac4e96160e7ea0292d8711a9d2f5913" and "e0b571a8085ce0ebbaa22d3b7aab1a84ac2a3f35" have entirely different histories.

3 changed files with 2 additions and 4 deletions

View file

@ -19,7 +19,6 @@ samples, guidance on mobile development, and a full API reference.
- Einstellungen
- darkmode
- Secure Storage: https://pub.dev/packages/flutter_secure_storage
- Einkauf
- Finance
- Einkaufskorb editieren

View file

@ -10,7 +10,6 @@ class Finance extends StatelessWidget {
@override
Widget build(BuildContext context) {
initializeDateFormatting('de_DE');
Intl.defaultLocale = 'de_DE';
return Scaffold(
appBar: AppBar(
@ -68,7 +67,7 @@ class Finance extends StatelessWidget {
Text getSubtitle(Transaction transaction) {
String text = '${transaction.amount / 100}';
text += '';
text += DateFormat("EEEE, dd. MMMM yyyy HH:mm")
text += DateFormat("EEEE, dd. MMMM yyyy HH:mm", 'de_DE')
.format(transaction.date);
if (transaction.description != null) {
(text += '\n${transaction.description}');

View file

@ -10,7 +10,7 @@ class Settings extends StatelessWidget {
ListTile(
leading: Icon(Icons.dark_mode),
title: Text(
'Hier könnten Einstellungen zu Darkmode sein',
'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein',
maxLines: 2,
),
)