change clear data model to make it the same as standard design

pull/1023/head
Ryan ZHAO 7 months ago
parent c3b5925f78
commit 6a3f914541

@ -210,9 +210,9 @@ final class NukeDataModal: Modal {
let modal: ConfirmationModal = ConfirmationModal(
targetView: self?.view,
info: ConfirmationModal.Info(
title: "clearDataError".localized(),
title: "clearDataAll".localized(),
body: .text("clearDataErrorDescriptionGeneric".localized()),
confirmTitle: "clearDeviceOnly".localized(),
confirmTitle: "clearDevice".localized(),
confirmStyle: .danger,
cancelStyle: .alert_text
) { [weak self] _ in
@ -252,9 +252,9 @@ final class NukeDataModal: Modal {
let modal: ConfirmationModal = ConfirmationModal(
targetView: self?.view,
info: ConfirmationModal.Info(
title: "clearDataError".localized(),
title: "clearDataAll".localized(),
body: .text("clearDataErrorDescriptionGeneric".localized()),
confirmTitle: "clearDeviceOnly".localized(),
confirmTitle: "clearDevice".localized(),
confirmStyle: .danger,
cancelStyle: .alert_text
) { [weak self] _ in

Loading…
Cancel
Save