mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-18 23:35:25 +02:00
added more information to memory sheet
This commit is contained in:
parent
e8c850f5f0
commit
99f64b85e6
@ -58,5 +58,6 @@
|
||||
"emptyScreenTitle": "Houston, wir haben ein Problem",
|
||||
"emptyScreenSubtitle": "Der Benutzer hat noch keine Erinnerungen erstellt!",
|
||||
"emptyScreenDescription": "Um deinen Zeitstrahl sehen zu können musst du zuerst ein paar Erinnerungen erstellen! :)",
|
||||
"emptyScreenCreateMemory": "Erinnerung erstellen"
|
||||
"emptyScreenCreateMemory": "Erinnerung erstellen",
|
||||
"memorySheetCreatedAtDataKey": "Erstellt am: {creationTimeFormatted}"
|
||||
}
|
@ -53,6 +53,16 @@
|
||||
"memorySheetUpdateMemoryMakePublic": "Make Public",
|
||||
"memorySheetUpdateMemoryMakePrivate": "Make Private",
|
||||
"memorySheetDeleteMemory": "Delete Memory",
|
||||
"memorySheetCreatedAtDataKey": "Created at: {creationTimeFormatted}",
|
||||
"@memorySheetCreatedAtDataKey": {
|
||||
"description": "Formatted date when the memory was created",
|
||||
"placeholders": {
|
||||
"creationTimeFormatted": {
|
||||
"type": "String",
|
||||
"example": "8am"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"emptyScreenTitle": "Houston, we have a problem",
|
||||
|
@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
|
||||
import 'package:gallery_saver/gallery_saver.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:quid_faciam_hodie/constants/spacing.dart';
|
||||
import 'package:quid_faciam_hodie/enums.dart';
|
||||
import 'package:quid_faciam_hodie/extensions/snackbar.dart';
|
||||
@ -185,6 +186,19 @@ class _MemorySheetState extends State<MemorySheet> with Loadable {
|
||||
? buildLoadingIndicator()
|
||||
: null,
|
||||
),
|
||||
const SizedBox(height: MEDIUM_SPACE),
|
||||
Text(
|
||||
localizations.memorySheetCreatedAtDataKey(DateFormat.jms().format(
|
||||
widget.memory.creationDate,
|
||||
)),
|
||||
style: getBodyTextTextStyle(context),
|
||||
),
|
||||
const SizedBox(height: SMALL_SPACE),
|
||||
Text(
|
||||
widget.memory.id,
|
||||
textAlign: TextAlign.center,
|
||||
style: getBodyTextTextStyle(context),
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user