//
//  TSAIPhotoGeneratoBaserVC+View.swift
//  KittensTravelNotes
//
//  Created by 100Years on 2025/7/7.
//

extension TSAIPhotoGeneratoBaserVC{
    

    func creatSaveBtn() -> UIButton {
        let saveBtn = kCreateNormalSubmitBtn(title: "Save".localized,backgroundColor: .themeColor) { [weak self]  in
            guard let self = self else { return }
            clickSaveBtn()
        }
        saveBtn.setTitleColor(.mainText, for:.normal)
        kSetBtnVipIcon(btn: saveBtn,vipImage: .btnImageBlackVip, show: true)
        return saveBtn
    }
    
//    func creatShareBtn() -> TSVerticalButton {
//        let shareBtn = TSVerticalButton()
//        shareBtn.setUpButton(title: "Share".localized,
//                             image: .share,
//                              font: .font(name:.ZillaSlab,size: 14,weight: .medium),
//                        titleColor: .white.withAlphaComponent(0.8),
//                             autoMirrored: false){ [weak self]  in
//            guard let self = self else { return }
//            clickShare()
//        }
//        shareBtn.contentEdgeInsets = UIEdgeInsets(top: 0, left: 10, bottom: 0, right: 10)
//        shareBtn.titleLabel?.layer.shadowColor = UIColor.black.cgColor
//        shareBtn.titleLabel?.layer.shadowOffset = CGSize(width: 0, height: 2)
//        shareBtn.titleLabel?.layer.shadowRadius = 3
//        shareBtn.titleLabel?.layer.shadowOpacity = 0.4
//        shareBtn.titleLabel?.layer.masksToBounds = false
//        return shareBtn
//    }
    
}
