Skip to content

Commit

Permalink
release/0.23.0 -> master (#965)
Browse files Browse the repository at this point in the history
- Created new home screen
- Replaced old home screen with new one
- Reimplemented Transaction History Screen
- New Screen is now available when user tap on the "View all transactions" button on the home screen
- Reimplemented QR code scanner. Now, the scanner is more versatile. The developer can now specify the expected data types that will be passed back to the presenter VC, all other data types will be handled by the scanner itself in a default way.
- Updated Transaction Send Screen UI
- Speed up RotaryMenuView animations
- Updated FFI version to 0.50.0.hotfix.1
- Updated min. valid FFI version to 0.50.0.hotfix.1
- Fixed issue with misaligned fractional numbers on the home screen. Now they will be presented properly on devices with iOS older than 16.4.0
- Updated "send" tab bar icon
- The app will no longer crash on slower devices when the user navigates to the transaction list screen
- Added a help button next to the "Available to spend" label on the home screen.
- Transactions presented on the screen are now clickable and move the user to the transaction details screen on tap.
- Fixed issue with refreshing data on the home screen. Now, the list of recent transactions will update more frequently
- Fixed soft-locks on the screens where the software keyboard is used. Now, the keyboard will dismiss when the user taps anywhere on the screen.
- Fixed issue with misaligned balance label on the home screen
- Hidden block explorer buttons.
  • Loading branch information
TruszczynskiA authored Aug 30, 2023
1 parent 7baa942 commit 08e029d
Show file tree
Hide file tree
Showing 137 changed files with 5,611 additions and 3,849 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ DerivedData/
*.perspectivev3
!default.perspectivev3
xcuserdata/
.vscode

## Other
*.moved-aside
Expand Down
290 changes: 195 additions & 95 deletions MobileWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "Checkmark.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "icon-wallet.pdf",
"filename" : "Close.pdf",
"idiom" : "universal"
}
],
Expand All @@ -10,6 +10,7 @@
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "magnifying glass.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
9 changes: 9 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Network/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Tari Gem.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "TariGem.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Wallet.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "wallet.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
9 changes: 9 additions & 0 deletions MobileWallet/Assets.xcassets/Images/TabBar/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "TabBarSend.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "original"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x44",
"green" : "0x2C",
"red" : "0xD3"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
28 changes: 27 additions & 1 deletion MobileWallet/Common/AppRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ enum AppRouter {
}

static func moveToProfile() {
present(controller: ProfileViewController())
present(controller: ProfileViewController(backButtonType: .close))
}

// MARK: - Modal Actions
Expand All @@ -127,6 +127,17 @@ enum AppRouter {
tabBar?.present(controller, animated: true)
}

static func presentOnTop(controller: UIViewController) {

guard var topViewController = UIApplication.shared.keyWindow?.rootViewController else { return }

while let presentedViewController = topViewController.presentedViewController {
topViewController = presentedViewController
}

topViewController.present(controller, animated: true)
}

static func presentVerifiySeedPhrase() {

let controller = SeedWordsListConstructor.buildScene(backButtonType: .close)
Expand Down Expand Up @@ -162,6 +173,21 @@ enum AppRouter {
tabBar?.presentOnFullScreen(navigationController)
}

@MainActor static func presentQrCodeScanner(expectedDataTypes: [QRCodeScannerModel.ExpectedType], onExpectedDataScan: ((QRCodeData) -> Void)?) {
do {
let controller = try QRCodeScannerConstructor.buildScene(expectedDataTypes: expectedDataTypes)
controller.onExpectedDataScan = onExpectedDataScan
presentOnTop(controller: controller)
} catch {
PopUpPresenter.show(message: MessageModel(title: localized("qr_code_scanner.error.no_valid_device.title"), message: localized("qr_code_scanner.error.no_valid_device.message"), type: .error))
}
}

static func presentCustomTorBridgesForm(bridges: String?) {
let controller = CustomBridgesViewController(bridgesConfiguration: BridgesConfiguration(bridges: .none, customBridges: nil), initialValue: bridges)
present(controller: controller)
}

// MARK: - External Apps

static func openAppSettings() {
Expand Down
Loading

0 comments on commit 08e029d

Please sign in to comment.