Skip to content

Commit

Permalink
📖Change for v2 data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Cierra-Runis committed Feb 20, 2024
1 parent 077c2bf commit a2a9df6
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 152 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
compileSdkVersion 34
ndkVersion flutter.ndkVersion

compileOptions {
Expand Down
7 changes: 3 additions & 4 deletions lib/widgets/mercurius/export_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,16 @@ class _V2Tile extends ConsumerWidget {

final s = {
'id': diary.id,
'belongTo': diary.createDateTime.microsecondsSinceEpoch,
'createAt': diary.createDateTime.microsecondsSinceEpoch,
'editAt': diary.latestEditTime.microsecondsSinceEpoch,
'content': contents,
'editing': diary.editing,
'title': diary.titleString,
'moodType': diary.moodType.index,
'weatherType': diary.moodType.index,
'moodType': diary.moodType.mood,
'weatherType': diary.weatherType.weather,
};

App.printLog('Add diary', inspect: s);

result.add(s);
}

Expand Down
Loading

0 comments on commit a2a9df6

Please sign in to comment.