From 6cde218393ec668ab43895492f9fdcc92dff8988 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 21 Sep 2024 23:28:14 +0800 Subject: [PATCH] :lipstick: Optimization of post item style --- ios/Podfile.lock | 4 ++-- lib/screens/dashboard.dart | 2 +- lib/widgets/posts/post_item.dart | 2 +- macos/Podfile.lock | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index cefd1e8..d9a3319 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -227,7 +227,7 @@ PODS: - TOCropViewController (~> 2.7.4) - image_picker_ios (0.0.1): - Flutter - - livekit_client (2.2.5): + - livekit_client (2.2.6): - Flutter - WebRTC-SDK (= 125.6422.04) - media_kit_libs_ios_video (1.0.4): @@ -482,7 +482,7 @@ SPEC CHECKSUMS: GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d image_cropper: 37d40f62177c101ff4c164906d259ea2c3aa70cf image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 - livekit_client: 9c8080879256a0fb16da13c9be4845248209d896 + livekit_client: 20e01637431bc108dad451c8a11c1d206e1dd2cd media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1 media_kit_native_event_loop: e6b2ab20cf0746eb1c33be961fcf79667304fa2a media_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e diff --git a/lib/screens/dashboard.dart b/lib/screens/dashboard.dart index c0debf2..56a8acb 100644 --- a/lib/screens/dashboard.dart +++ b/lib/screens/dashboard.dart @@ -88,7 +88,7 @@ class _DashboardScreenState extends State { Future _pullDaily() async { try { _signRecord = await _dailySign.getToday(); - _dailySign.listLastRecord(30).then((value) { + _dailySign.listLastRecord(14).then((value) { setState(() => _signRecordHistory = value); }); } catch (e) { diff --git a/lib/widgets/posts/post_item.dart b/lib/widgets/posts/post_item.dart index a94dbcd..edaccf0 100644 --- a/lib/widgets/posts/post_item.dart +++ b/lib/widgets/posts/post_item.dart @@ -313,7 +313,7 @@ class _PostItemState extends State { attachmentsId: attachments, autoload: false, isColumn: true, - ).paddingOnly(left: 60, right: 24); + ).paddingOnly(left: 60, right: 24, top: 4, bottom: 4); } else { return AttachmentList( flatMaxHeight: MediaQuery.of(context).size.width, diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 2bc6125..32716d2 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -158,7 +158,7 @@ PODS: - GoogleUtilities/UserDefaults (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - livekit_client (2.2.5): + - livekit_client (2.2.6): - FlutterMacOS - WebRTC-SDK (= 125.6422.04) - macos_window_utils (1.0.0): @@ -359,7 +359,7 @@ SPEC CHECKSUMS: GoogleAppMeasurement: 6e49ffac7d3f2c3ded9cc663f912a13b67bbd0de GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7 GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d - livekit_client: be04a950a4b84b9dbc87507ffad5154fe75fa067 + livekit_client: 98d09566e3a936b3402be8091ec3845556d36800 macos_window_utils: 933f91f64805e2eb91a5bd057cf97cd097276663 media_kit_libs_macos_video: b3e2bbec2eef97c285f2b1baa7963c67c753fb82 media_kit_native_event_loop: 81fd5b45192b72f8b5b69eaf5b540f45777eb8d5