feat: update last refs to 2.2.0

This commit is contained in:
Vick Top 2024-03-07 10:10:57 +01:00
parent 4569f25f4b
commit 0378ba0eb3
5 changed files with 8 additions and 6 deletions

View file

@ -72,7 +72,7 @@ void createPost(
MaterialPageRoute( MaterialPageRoute(
builder: (context) => Scaffold( builder: (context) => Scaffold(
body: TimelinePostCreationScreen( body: TimelinePostCreationScreen(
postCategory: null, postCategory: 'category1',
userId: 'test_user', userId: 'test_user',
service: service, service: service,
options: options, options: options,

View file

@ -19,13 +19,13 @@ dependencies:
git: git:
url: https://github.com/Iconica-Development/flutter_timeline url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_view path: packages/flutter_timeline_view
ref: 2.1.0 ref: 2.2.0
flutter_timeline_interface: flutter_timeline_interface:
git: git:
url: https://github.com/Iconica-Development/flutter_timeline url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_interface path: packages/flutter_timeline_interface
ref: 2.1.0 ref: 2.2.0
dev_dependencies: dev_dependencies:
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0

View file

@ -23,7 +23,7 @@ dependencies:
git: git:
url: https://github.com/Iconica-Development/flutter_timeline url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_interface path: packages/flutter_timeline_interface
ref: 2.1.0 ref: 2.2.0
dev_dependencies: dev_dependencies:
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0

View file

@ -30,7 +30,9 @@ class TimelinePostOverviewScreen extends StatelessWidget {
userId: timelinePost.creatorId, userId: timelinePost.creatorId,
options: options, options: options,
post: timelinePost, post: timelinePost,
onPostDelete: () {}, onPostDelete: () async {
await service.postService.deletePost(timelinePost);
},
service: service, service: service,
), ),
), ),

View file

@ -23,7 +23,7 @@ dependencies:
git: git:
url: https://github.com/Iconica-Development/flutter_timeline url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_interface path: packages/flutter_timeline_interface
ref: 2.1.0 ref: 2.2.0
flutter_image_picker: flutter_image_picker:
git: git:
url: https://github.com/Iconica-Development/flutter_image_picker url: https://github.com/Iconica-Development/flutter_image_picker