54 lines
1.9 KiB
Objective-C
54 lines
1.9 KiB
Objective-C
//
|
|
// XPSocialAction.m
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2024/12/19.
|
|
//
|
|
|
|
#import "XPSocialAction.h"
|
|
|
|
@implementation XPSocialAction
|
|
|
|
#pragma mark - Factory Methods
|
|
|
|
//+ (instancetype)inviteFansAction {
|
|
// XPSocialAction *action = [[XPSocialAction alloc] init];
|
|
// action.title = @"邀请粉丝"; // 暂时使用硬编码,后续改为本地化
|
|
// action.imageName = @"room_more_menu_invite_friend"; // 使用正确的图片名称
|
|
// action.type = RoomMoreMenuType_Invite_Fans;
|
|
// action.isEnabled = YES;
|
|
// action.titleColor = [DJDKMIMOMColor roomMoreMenuTextColor]; // 使用正确的标题颜色
|
|
// return action;
|
|
//}
|
|
|
|
//+ (instancetype)releaseRadioAction {
|
|
// XPSocialAction *action = [[XPSocialAction alloc] init];
|
|
// action.title = @"发布广播"; // 暂时使用硬编码,后续改为本地化
|
|
// action.imageName = @"room_more_menu_release_radio"; // 使用正确的图片名称
|
|
// action.type = RoomMoreMenuType_Release_Radio;
|
|
// action.isEnabled = YES;
|
|
// action.titleColor = [DJDKMIMOMColor roomMoreMenuTextColor]; // 使用正确的标题颜色
|
|
// return action;
|
|
//}
|
|
|
|
+ (instancetype)trumpetAction {
|
|
XPSocialAction *action = [[XPSocialAction alloc] init];
|
|
action.title = YMLocalizedString(@"XPMoreMenuPresenter35"); // 暂时使用硬编码,后续改为本地化
|
|
action.imageName = @"room_more_menu_trumpet"; // 使用正确的图片名称
|
|
action.type = RoomMoreMenuType_Room_trumpet;
|
|
action.titleColor = [DJDKMIMOMColor roomMoreMenuTextColor]; // 使用正确的标题颜色
|
|
return action;
|
|
}
|
|
|
|
+ (instancetype)reportAction {
|
|
XPSocialAction *action = [[XPSocialAction alloc] init];
|
|
action.title = YMLocalizedString(@"XPMoreMenuPresenter36");
|
|
action.imageName = @"room_info_report";
|
|
action.type = RoomMoreMenuType_Room_report;
|
|
action.titleColor = [DJDKMIMOMColor roomMoreMenuTextColor]; // 使用正确的标题颜色
|
|
return action;
|
|
}
|
|
|
|
|
|
@end
|