Skip to content

Commit

Permalink
auto formatter changes
Browse files Browse the repository at this point in the history
update gitignore

Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com>
  • Loading branch information
kcw-grunt committed Dec 12, 2024
1 parent bc27da8 commit ee373aa
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 69 deletions.
30 changes: 0 additions & 30 deletions litewallet/GoogleService-Info.plist

This file was deleted.

6 changes: 2 additions & 4 deletions litewallet/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,14 @@ class MainViewController: UIViewController, Subscriber, LoginViewControllerDeleg

NotificationCenter.default.addObserver(forName: UIApplication.willEnterForegroundNotification,
object: nil,
queue: nil)
{ _ in
queue: nil) { _ in
self.showJailbreakWarnings(isJailbroken: isJailbroken)
}
}

NotificationCenter.default.addObserver(forName: UserDefaults.didChangeNotification,
object: nil,
queue: nil)
{ _ in
queue: nil) { _ in
if UserDefaults.writePaperPhraseDate != nil
{}
}
Expand Down
29 changes: 13 additions & 16 deletions litewallet/StartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,20 @@ struct StartView: View {
alignment: .center)
.alert(startViewModel
.alertMessage[startViewModel.currentLanguage.rawValue],
isPresented: $delayedSelect)
{
HStack {
Button(startViewModel
.yesLabel[startViewModel.currentLanguage.rawValue], role: .cancel)
{
// Changes and Dismisses
startViewModel.setLanguage(code: startViewModel.currentLanguage.code)
selectedLang = false
isPresented: $delayedSelect) {
HStack {
Button(startViewModel
.yesLabel[startViewModel.currentLanguage.rawValue], role: .cancel) {
// Changes and Dismisses
startViewModel.setLanguage(code: startViewModel.currentLanguage.code)
selectedLang = false
}
Button(startViewModel
.cancelLabel[startViewModel.currentLanguage.rawValue], role: .destructive) {
// Dismisses
selectedLang = false
}
}
Button(startViewModel
.cancelLabel[startViewModel.currentLanguage.rawValue], role: .destructive)
{
// Dismisses
selectedLang = false
}
}
}
Spacer()
NavigationLink(destination:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ class ConfirmPaperPhraseViewController: UITableViewController {

NotificationCenter.default.addObserver(forName: UIApplication.willResignActiveNotification,
object: nil,
queue: nil)
{ [weak self] _ in
queue: nil) { [weak self] _ in
self?.dismiss(animated: true,
completion: nil)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class WritePaperPhraseViewController: UIViewController {

NotificationCenter.default.addObserver(forName: UIScene.willDeactivateNotification,
object: nil,
queue: nil)
{ [weak self] _ in
queue: nil) { [weak self] _ in
self?.dismiss(animated: true, completion: nil)
}
}
Expand Down
21 changes: 10 additions & 11 deletions litewallet/src/StartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,17 @@ struct StartView: View {
alignment: .center)
.alert(startViewModel
.alertMessage[startViewModel.currentLanguage.rawValue],
isPresented: $delayedSelect)
{
HStack {
Button(S.Button.yes.localize(), role: .cancel) {
startViewModel.setLanguage(code: startViewModel.currentLanguage.code)
selectedLang = false
}
Button(S.Button.cancel.localize(), role: .destructive) {
// Dismisses
selectedLang = false
isPresented: $delayedSelect) {
HStack {
Button(S.Button.yes.localize(), role: .cancel) {
startViewModel.setLanguage(code: startViewModel.currentLanguage.code)
selectedLang = false
}
Button(S.Button.cancel.localize(), role: .destructive) {
// Dismisses
selectedLang = false
}
}
}
}
Spacer()
NavigationLink(destination:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ class ConfirmPaperPhraseViewController: UITableViewController {

NotificationCenter.default.addObserver(forName: UIApplication.willResignActiveNotification,
object: nil,
queue: nil)
{ [weak self] _ in
queue: nil) { [weak self] _ in
self?.dismiss(animated: true,
completion: nil)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class WritePaperPhraseViewController: UIViewController {

NotificationCenter.default.addObserver(forName: UIScene.willDeactivateNotification,
object: nil,
queue: nil)
{ [weak self] _ in
queue: nil) { [weak self] _ in
self?.dismiss(animated: true, completion: nil)
}
}
Expand Down

0 comments on commit ee373aa

Please sign in to comment.