//
//  LNCommonAlertView+Settings.swift
//  Lanu
//
//  Created by OneeChan on 2025/12/22.
//

import Foundation


extension LNCommonAlertView {
    static func showLogoutAlert() {
        let panel = LNCommonAlertView()
        panel.titleLabel.text = .init(key: "A00013")
        panel.showConfirm(.init(key: "A00002")) {
            LNAccountManager.shared.logout()
        }
        panel.showCancel(.init(key: "A00003"))
        panel.popup()
    }
}
