From 79cf03a5f8c8df58cc0447cab809ed8bbaa01c2c Mon Sep 17 00:00:00 2001 From: fengshuo <963787902@qq.com> Date: Tue, 25 Oct 2022 18:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E9=80=81=E7=A4=BC?= =?UTF-8?q?=E7=89=A9=E7=9B=B8=E4=BA=B2=E6=88=BF=E6=97=A0=E7=89=B9=E6=95=88?= =?UTF-8?q?=20=E5=8D=A1=E9=A1=BF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftUsersView.m | 1 + xplan-ios/Main/ModuleKit/SendGiftView/View/XPSendGiftView.m | 1 + xplan-ios/Main/Room/View/StageView/StageView.m | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftUsersView.m b/xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftUsersView.m index 505389da..7716d718 100644 --- a/xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftUsersView.m +++ b/xplan-ios/Main/ModuleKit/SendGiftView/View/XPGiftUsersView.m @@ -256,6 +256,7 @@ - (UICollectionView *)collectionView{ if (!_collectionView) { UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; + layout.scrollDirection = UICollectionViewScrollDirectionHorizontal; layout.itemSize = CGSizeMake(38, 43); layout.minimumInteritemSpacing = 4; layout.sectionInset = UIEdgeInsetsMake(0, 0, 0,0); diff --git a/xplan-ios/Main/ModuleKit/SendGiftView/View/XPSendGiftView.m b/xplan-ios/Main/ModuleKit/SendGiftView/View/XPSendGiftView.m index 559f8b9d..0e56f0e0 100644 --- a/xplan-ios/Main/ModuleKit/SendGiftView/View/XPSendGiftView.m +++ b/xplan-ios/Main/ModuleKit/SendGiftView/View/XPSendGiftView.m @@ -191,6 +191,7 @@ } [data1 removeObjectForKey:@"luckyBagGifts"]; [data1 removeObjectForKey:@"targetUsers"]; + [data1 removeObjectForKey:@"gift"]; attachment.data = data1; [self sendCustomMessage:attachment]; } diff --git a/xplan-ios/Main/Room/View/StageView/StageView.m b/xplan-ios/Main/Room/View/StageView/StageView.m index b86aaaa2..a3b82072 100644 --- a/xplan-ios/Main/Room/View/StageView/StageView.m +++ b/xplan-ios/Main/Room/View/StageView/StageView.m @@ -323,7 +323,6 @@ } microQueueChanged = NO; } - [self initGiftValue]; } break;