diff --git a/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/Contents.json b/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/Contents.json new file mode 100644 index 00000000..b866a506 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ic_new_talk_add.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/ic_new_talk_add.png b/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/ic_new_talk_add.png new file mode 100644 index 00000000..50b5f3b8 Binary files /dev/null and b/SodaLive/Resources/Assets.xcassets/v2/ic_new_talk_add.imageset/ic_new_talk_add.png differ diff --git a/SodaLive/Sources/V2/Main/Chat/MainChatView.swift b/SodaLive/Sources/V2/Main/Chat/MainChatView.swift index 270cf192..3b8ec189 100644 --- a/SodaLive/Sources/V2/Main/Chat/MainChatView.swift +++ b/SodaLive/Sources/V2/Main/Chat/MainChatView.swift @@ -2,7 +2,6 @@ import SwiftUI struct MainChatView: View { let onTapCanCharge: () -> Void - let onTapSearch: () -> Void @StateObject private var viewModel = MainChatViewModel() @StateObject private var appState = AppState.shared @@ -13,9 +12,6 @@ struct MainChatView: View { HStack(spacing: SodaSpacing.s14) { Image("ic_bar_cash") .onTapGesture { onTapCanCharge() } - - Image("ic_bar_search") - .onTapGesture { onTapSearch() } } } @@ -131,6 +127,6 @@ struct MainChatView: View { struct MainChatView_Previews: PreviewProvider { static var previews: some View { - MainChatView(onTapCanCharge: {}, onTapSearch: {}) + MainChatView(onTapCanCharge: {}) } } diff --git a/SodaLive/Sources/V2/Main/MainView.swift b/SodaLive/Sources/V2/Main/MainView.swift index 18883045..467e4f8d 100644 --- a/SodaLive/Sources/V2/Main/MainView.swift +++ b/SodaLive/Sources/V2/Main/MainView.swift @@ -132,7 +132,7 @@ struct MainView: View { Spacer() CreatorChannelFloatingIconButton( - imageName: "ic_plus_no_bg", + imageName: "ic_new_talk_add", backgroundColor: Color.soda400, accessibilityLabel: I18n.UserCreatorChatRecipientSearch.openButtonAccessibilityLabel, action: showUserCreatorChatRecipientSearch @@ -234,10 +234,7 @@ struct MainView: View { onTapNewAndHotAll: handleContentNewAndHotAllTap ) case .chat: - MainChatView( - onTapCanCharge: handleHomeCanChargeTap, - onTapSearch: handleHomeSearchTap - ) + MainChatView(onTapCanCharge: handleHomeCanChargeTap) case .my: MyPageView() }