LNCommonAlertView+Profile.swift 450 B

1234567891011121314151617181920
  1. //
  2. // LNCommonAlertView+Profile.swift
  3. // Gami
  4. //
  5. // Created by OneeChan on 2026/1/11.
  6. //
  7. import Foundation
  8. extension LNCommonAlertView {
  9. static func showProfileEditEnsaveAlert(_ handler: @escaping () -> Void) {
  10. let alertView = LNCommonAlertView()
  11. alertView.titleLabel.text = .init(key: "A00018")
  12. alertView.showCancel()
  13. alertView.showConfirm {
  14. handler()
  15. }
  16. alertView.popup()
  17. }
  18. }