Skip to content

Commit a44d7a8

Browse files
Merge pull request #126 from Adamant-im/develop
Develop to master. Version 2.8.0
2 parents 28d1a96 + e508d9f commit a44d7a8

File tree

248 files changed

+5122
-1950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+5122
-1950
lines changed

.swiftlint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
disabled_rules:
2+
- colon
3+
- comma
4+
- control_statement
5+
- identifier_name
6+
- line_length
7+
- force_try
8+
- type_name
9+
- cyclomatic_complexity
10+
- force_cast
11+
- type_body_length
12+
- trailing_whitespace
13+
- function_body_length
14+
- comment_spacing
15+
- file_length
16+
- large_tuple
17+
- function_parameter_count
18+
- shorthand_operator
19+
- operator_whitespace
20+
- no_fallthrough_only
21+
- computed_accessors_order
22+
- xctfail_message

Adamant.xcodeproj/project.pbxproj

Lines changed: 170 additions & 27 deletions
Large diffs are not rendered by default.

Adamant.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"repositoryURL": "https://github.com/attaswift/BigInt.git",
1616
"state": {
1717
"branch": null,
18-
"revision": "018a5925f60f9e0523edd261de394a0898fe95b7",
19-
"version": "3.1.0"
18+
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
19+
"version": "5.3.0"
2020
}
2121
},
2222
{
@@ -42,8 +42,8 @@
4242
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
4343
"state": {
4444
"branch": null,
45-
"revision": "5669f222e46c8134fb1f399c745fa6882b43532e",
46-
"version": "1.3.8"
45+
"revision": "039f56c5d7960f277087a0be51f5eb04ed0ec073",
46+
"version": "1.5.1"
4747
}
4848
},
4949
{
@@ -78,8 +78,8 @@
7878
"repositoryURL": "https://github.com/xmartlabs/Eureka.git",
7979
"state": {
8080
"branch": null,
81-
"revision": "975e8d5e0ea3c86aff828537b2d4abe4430d6312",
82-
"version": "5.3.4"
81+
"revision": "a7523afdfe38478c6d5706a8ac01d26590835493",
82+
"version": "5.3.6"
8383
}
8484
},
8585
{
@@ -191,21 +191,21 @@
191191
}
192192
},
193193
{
194-
"package": "Starscream",
195-
"repositoryURL": "https://github.com/daltoniam/Starscream.git",
194+
"package": "SocketIO",
195+
"repositoryURL": "https://github.com/socketio/socket.io-client-swift",
196196
"state": {
197-
"branch": null,
198-
"revision": "e6b65c6d9077ea48b4a7bdda8994a1d3c6969c8d",
199-
"version": "3.1.1"
197+
"branch": "master",
198+
"revision": "a1ed825835a2d8c2555938e96557ccc05e4bebf3",
199+
"version": null
200200
}
201201
},
202202
{
203-
"package": "swift-nio-zlib-support",
204-
"repositoryURL": "https://github.com/apple/swift-nio-zlib-support.git",
203+
"package": "Starscream",
204+
"repositoryURL": "https://github.com/daltoniam/Starscream.git",
205205
"state": {
206206
"branch": null,
207-
"revision": "37760e9a52030bb9011972c5213c3350fa9d41fd",
208-
"version": "1.0.0"
207+
"revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21",
208+
"version": "4.0.4"
209209
}
210210
},
211211
{
@@ -240,8 +240,8 @@
240240
"repositoryURL": "https://github.com/skywinder/web3swift.git",
241241
"state": {
242242
"branch": null,
243-
"revision": "b060704c425ceb5b4c87ff8d8a2a9f0c0ae3bdc5",
244-
"version": "2.2.2"
243+
"revision": "4312a7178e1255c3ef65ac909657d29f6dd81bb6",
244+
"version": "2.6.6"
245245
}
246246
}
247247
]

Adamant/AppDelegate.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ extension StoreKey {
3535
}
3636
}
3737

38-
3938
// MARK: - Application
4039
@UIApplicationMain
4140
class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -120,8 +119,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
120119
tabBarAppearance.configureWithDefaultBackground()
121120
UITabBar.appearance().standardAppearance = tabBarAppearance
122121

122+
let navigationBarAppearance = UINavigationBarAppearance()
123+
navigationBarAppearance.configureWithDefaultBackground()
124+
UINavigationBar.appearance().standardAppearance = navigationBarAppearance
125+
123126
if #available(iOS 15.0, *) {
124127
UITabBar.appearance().scrollEdgeAppearance = tabBarAppearance
128+
UINavigationBar.appearance().scrollEdgeAppearance = navigationBarAppearance
125129
}
126130
}
127131

@@ -212,7 +216,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
212216
dialogService.showError(withMessage: "Failed to register CurrencyInfoService autoupdate. Please, report a bug", error: nil)
213217
}
214218

215-
216219
// MARK: 6. Logout reset
217220
NotificationCenter.default.addObserver(forName: Notification.Name.AdamantAccountService.userLoggedOut, object: nil, queue: OperationQueue.main) { [weak self] _ in
218221
// On logout, pop all navigators to root.
@@ -331,7 +334,7 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
331334
}
332335
}
333336

334-
//MARK: Open Chat From Notification
337+
// MARK: Open Chat From Notification
335338
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
336339
guard let transactionID = userInfo[AdamantNotificationUserInfoKeys.transactionId] as? String,
337340
let transactionRaw = userInfo[AdamantNotificationUserInfoKeys.transaction] as? String,
@@ -398,7 +401,6 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
398401
}
399402
}
400403

401-
402404
// MARK: - Background Fetch
403405
extension AppDelegate {
404406
func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
@@ -458,7 +460,6 @@ extension AppDelegate {
458460
}
459461
}
460462

461-
462463
// MARK: - Welcome messages
463464
extension AppDelegate {
464465
private func handleWelcomeMessages(notification: Notification) {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
3+
"author" : "xcode",
4+
"version" : 1
55
}
6-
}
6+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "wallet_btc_row.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "wallet_btc_row@2x.png",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "wallet_btc_row@3x.png",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Loading
Loading
Loading
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"images" : [
33
{
4-
"idiom" : "universal",
54
"filename" : "wallet_lsk_row.png",
5+
"idiom" : "universal",
66
"scale" : "1x"
77
},
88
{
9-
"idiom" : "universal",
109
"filename" : "wallet_lsk_row@2x.png",
10+
"idiom" : "universal",
1111
"scale" : "2x"
1212
},
1313
{
14-
"idiom" : "universal",
1514
"filename" : "wallet_lsk_row@3x.png",
15+
"idiom" : "universal",
1616
"scale" : "3x"
1717
}
1818
],
1919
"info" : {
20-
"version" : 1,
21-
"author" : "xcode"
20+
"author" : "xcode",
21+
"version" : 1
2222
},
2323
"properties" : {
2424
"template-rendering-intent" : "template"
2525
}
26-
}
26+
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"images" : [
33
{
4-
"idiom" : "universal",
54
"filename" : "img-infocards-1.png",
5+
"idiom" : "universal",
66
"scale" : "1x"
77
},
88
{
9-
"idiom" : "universal",
109
"filename" : "img-infocards-1@2x.png",
10+
"idiom" : "universal",
1111
"scale" : "2x"
1212
},
1313
{
14-
"idiom" : "universal",
1514
"filename" : "img-infocards-1@3x.png",
15+
"idiom" : "universal",
1616
"scale" : "3x"
1717
}
1818
],
1919
"info" : {
20-
"version" : 1,
21-
"author" : "xcode"
20+
"author" : "xcode",
21+
"version" : 1
2222
}
23-
}
23+
}
Loading
Loading
Loading

Adamant/Assets/default.mp3

11.9 KB
Binary file not shown.

Adamant/Assets/l18n/de.lproj/Localizable.strings

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@
148148
/* Account tab: 'Send LSK tokens' button */
149149
"AccountTab.Row.SendLsk" = "LSK senden";
150150

151+
/* Account tab: 'Send BTC tokens' button */
152+
"AccountTab.Row.SendBtc" = "BTC ";
153+
151154
/* Account tab: 'Send DOGE tokens' button */
152155
"AccountTab.Row.SendDoge" = "DOGE senden";
153156

@@ -199,6 +202,9 @@
199202
/* Account tab: Lisk wallet */
200203
"AccountTab.Wallets.lisk_wallet" = "Lisk Wallet";
201204

205+
/* Account tab: Bitcoin wallet */
206+
"AccountTab.Wallets.bitcoin_wallet" = "Bitcoin Wallet";
207+
202208
/* Account tab: Doge wallet */
203209
"AccountTab.Wallets.doge_wallet" = "Doge Wallet";
204210

@@ -325,6 +331,9 @@
325331
/* Chat: 'Sent funds' bubble title */
326332
"ChatScene.Sent" = "Versendet";
327333

334+
/* Chat: 'Received funds' bubble title */
335+
"ChatScene.Received" = "Erhalten";
336+
328337
/* Chat: 'Sent funds' buble 'Tap for details' tip */
329338
"ChatScene.tapForDetails" = "Tap for details";
330339

@@ -625,6 +634,12 @@
625634
/* Security: About Notification types */
626635
"SecurityPage.Section.AboutNotificationTypes" = "Über Benachrichtigungsoptionen";
627636

637+
/* Security: Messages Notification sound */
638+
"SecurityPage.Section.Messages" = "Mitteilungen";
639+
640+
/* Security: Settings Notification */
641+
"SecurityPage.Section.Settings" = "Einstellungen";
642+
628643
/* Notifications: Disable notifications */
629644
"Notifications.Mode.NotificationsDisabled" = "Deaktiviert";
630645

@@ -637,6 +652,21 @@
637652
/* Security: Visit Github */
638653
"SecurityPage.Row.VisitGithub" = "Zu GitHub";
639654

655+
/* Notifications: Open system Settings */
656+
"Notifications.Settings.System" = "Systemeinstellungen";
657+
658+
/* Notifications: Select Sound */
659+
"Notifications.Sound.Name" = "Klang";
660+
661+
/* Notifications: Select Sounds */
662+
"Notifications.Sounds.Name" = "Geräusche";
663+
664+
/* Notifications: Select Alert Save */
665+
"Notifications.Alert.Save" = "Speichern";
666+
667+
/* Notifications: Alerts Cancel */
668+
"Notifications.Alert.Cancel" = "Absagen";
669+
640670
/* Notifications: Something went wrong while registering remote notifications. %@ for description */
641671
"NotificationsService.Error.RegistrationRemotesFormat" = "Registrierung in ANS fehlgeschlagen. Bitte erneut versuchen. Ursache %@";
642672

@@ -742,9 +772,6 @@
742772
/* Shared alert notification: body message for no internet connection. */
743773
"Shared.NoInternet.Body" = "Bitte überprüfen Sie Ihre Internetverbindung und versuchen Sie es erneut";
744774

745-
/* Shared alert notification: message for no Mail services. */
746-
"Shared.NoMail" = "Mail services are not available";
747-
748775
/* Shared alert 'Ok' button. Used anywhere */
749776
"Shared.Ok" = "Ok";
750777

@@ -958,6 +985,9 @@
958985
/* Tranfser: Confirm using maximum available for transfer tokens as amount to transfer. */
959986
"TransferScene.UseMaxToTransfer" = "Alle verfügbaren Tokens versenden?";
960987

988+
/* Tranfser: Dust error. */
989+
"TransferScene.Dust.Error" = "Staubmenge – Senden Sie mehr Token";
990+
961991
/* Transfer: Confirm transfer %1$@ tokens to %2$@ message. Note two variables: at runtime %1$@ will be amount (with ADM suffix), and %2$@ will be recipient address. You can use address before amount with this so called 'position tokens'. */
962992
"TransferScene.SendConfirmFormat" = "%1$@ zu %2$@? senden";
963993

0 commit comments

Comments
 (0)