Skip to content

Commit

Permalink
feat: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
zafar4aev committed Jul 21, 2023
1 parent 3b75d9c commit c94d162
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/amplitude/analytics-connector-ios.git",
"state" : {
"revision" : "d3d682a26ca6f4947ece2c2e627971bb41b940fa",
"version" : "1.0.1"
"revision" : "d2f3ec4b022211a67d5d4509135d84359f7f8b8d",
"version" : "1.0.2"
}
},
{
Expand Down Expand Up @@ -95,17 +95,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk.git",
"state" : {
"revision" : "e700a8f40c87c31cab7984875fcc1225d96b25bf",
"version" : "10.11.0"
"revision" : "a580250a9ff49ec38da5430cef20f88ddc831db2",
"version" : "10.12.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "62e3a0c09a75e2637f5300d46f05a59313f1c286",
"version" : "10.11.0"
"revision" : "0a226a8c50494c4cb877fbde27ab6374520a3354",
"version" : "10.12.0"
}
},
{
Expand All @@ -131,8 +131,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "58d03d22beae762eaddbd30cb5a61af90d4b309f",
"version" : "7.11.3"
"revision" : "4446686bc3714d49ce043d0f68318f42ed718cb6",
"version" : "7.11.4"
}
},
{
Expand Down Expand Up @@ -248,8 +248,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/marmelroy/PhoneNumberKit.git",
"state" : {
"revision" : "7147f6126e24ebf65f8c65e64afce5915c178c42",
"version" : "3.6.5"
"revision" : "9bc965a326df8d5115f0b7bb77f09c542b8ec417",
"version" : "3.6.6"
}
},
{
Expand All @@ -266,8 +266,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "ec957ccddbcc710ccc64c9dcbd4c7006fcf8b73a",
"version" : "2.2.0"
"revision" : "c22f76b709dc4bb6d274398259e75c191e50998a",
"version" : "2.3.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion p2p_wallet/Common/Extensions/Double+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extension Double {

let formatter = NumberFormatter()
formatter.numberStyle = .decimal
formatter.maximumFractionDigits = 0
formatter.maximumFractionDigits = 2

if abs(self) >= 1000000 {
formatter.multiplier = 0.000001
Expand Down
2 changes: 1 addition & 1 deletion p2p_wallet/Scenes/Actions/ActionsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ extension ActionsView {
extension ActionsView {
var viewHeight: CGFloat {
(UIScreen.main.bounds.width - 16 * 3)
+ (UIApplication.shared.kWindow?.safeAreaInsets.bottom ?? 0) + 140
+ (UIApplication.shared.kWindow?.safeAreaInsets.bottom ?? 0)
}
}
2 changes: 1 addition & 1 deletion p2p_wallet/Scenes/Actions/ActionsViewActionType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ enum ActionsViewActionType: CaseIterable {
var subtitle: String {
switch self {
case .bankTransfer:
return L10n._1Fee
return L10n._0Fees
case .bankCard:
return L10n._45Fees
case .crypto:
Expand Down

0 comments on commit c94d162

Please sign in to comment.