-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added new contact book screen with core functionalities - Added Contact Details screen. User now will be able to check and edit contact details - Created ExternalContactsManager to handle actions related with external (system) contacts - Created ContactsManager to handle both internal (FFI) and external (system) contacts - Integrated external contacts with contact book screen. Now, external contacts are visible on the list and user is able to check contact's details. - Integrated external contacts with contact details screen. From that point user is able to edit and remove the external contact. - Adjusted contact book UI to align with designs - Added Link/Unlink functionality to contact book. User is now able to link internal with external contact - Yat Integration - User will now be able to attach Yat to his external and linked contacts - Attaching Yat allows using the user's BTC, ETC, and XMR addresses stored contacted to Yat to open the 3rd party wallet apps. - Added placeholders on contact book screen - Added UI Elememnt that indicates the contact's type. - Created SettingsProfileCell, ui component that allows user to move to the profile screen - Moved profile screen to the settings menu - Implemented "Add Contact" feature avaiable from the Contact Book Screen - Added Add/Remove to/from Favorites funtionality. Now user can tag internal contacts as favorite. - Removed part of unused code and assets. - Updated SwiftLint rules to be a step closer to our targets - Removed few opt-out rules from swiftlint config - Added few files to excluded list and mark them as "scheduled for refactor" - Fixed linter issues. - Updated FFI version to v0.49.0-pre.4 - Updated MigrationManager logic. Now, it will using data directly from FFI. - Updated update_dependencies.sh script. Constants.plist generated by this script will be no longer needed. - Removed unused code - Added additional unit test to cover scenarios when FFI version have PRE or RC component in version number. - Updated App Version to v0.20.0
- Loading branch information
1 parent
dcabe72
commit 8a86d70
Showing
207 changed files
with
7,801 additions
and
4,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
line_length: # Target: 120/200 | ||
- 245 | ||
- 325 | ||
- 230 | ||
- 250 | ||
|
||
type_body_length: # Target: 250/350 | ||
- 380 | ||
- 400 | ||
- 500 | ||
|
||
function_body_length: # Target: 50/100 | ||
- 105 | ||
- 120 | ||
- 220 | ||
|
||
file_length: # Target: 400/1000 | ||
- 910 | ||
- 1510 | ||
- 675 | ||
- 1000 | ||
|
||
disabled_rules: | ||
- identifier_name | ||
- cyclomatic_complexity | ||
- multiple_closures_with_trailing_closure | ||
- function_parameter_count | ||
- todo | ||
- nesting | ||
- type_name | ||
|
||
excluded: | ||
- Pods | ||
- UnitTests | ||
- UnitTests | ||
# Files scheduled for refactor | ||
- ./**/TariSettings.swift | ||
- ./**/SettingsViewController.swift | ||
- ./**/AddAmountViewController.swift | ||
- ./**/EmojiIdView.swift | ||
- ./**/AnimatedBalanceLabel.swift | ||
- ./**/TxsListViewController.swift |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 0 additions & 23 deletions
23
MobileWallet/Assets.xcassets/Assets/TabBar/navProfile.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-590 Bytes
MobileWallet/Assets.xcassets/Assets/TabBar/navProfile.imageset/navProfile.png
Binary file not shown.
Binary file removed
BIN
-1.07 KB
MobileWallet/Assets.xcassets/Assets/TabBar/navProfile.imageset/[email protected]
Binary file not shown.
Binary file removed
BIN
-1.6 KB
MobileWallet/Assets.xcassets/Assets/TabBar/navProfile.imageset/[email protected]
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
MobileWallet/Assets.xcassets/Icons/Contact Types/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Contact Types/External.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-cb-nopadding.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+4.1 KB
MobileWallet/Assets.xcassets/Icons/Contact Types/External.imageset/ico-cb-nopadding.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Contact Types/Internal.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-tari-nopadding.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+1.17 KB
MobileWallet/Assets.xcassets/Icons/Contact Types/Internal.imageset/ico-tari-nopadding.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Contact Types/Linked.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-link-nopadding.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+3.21 KB
MobileWallet/Assets.xcassets/Icons/Contact Types/Linked.imageset/ico-link-nopadding.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Link.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-link.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
16
MobileWallet/Assets.xcassets/Icons/Profile.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-profile.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
16
MobileWallet/Assets.xcassets/Icons/Send.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-send-receive.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+2.89 KB
MobileWallet/Assets.xcassets/Icons/Send.imageset/ico-send-receive.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Star/Border.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-star.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Star/Filled.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-star-filled.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+1.27 KB
MobileWallet/Assets.xcassets/Icons/Star/Filled.imageset/ico-star-filled.pdf
Binary file not shown.
15 changes: 15 additions & 0 deletions
15
MobileWallet/Assets.xcassets/Icons/TabBar/ContactBook.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-contact-book.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+14.7 KB
MobileWallet/Assets.xcassets/Icons/TabBar/ContactBook.imageset/ico-contact-book.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MobileWallet/Assets.xcassets/Icons/Unlink.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-unlink.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
16
MobileWallet/Assets.xcassets/Images/Contact Book/AddContact.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "add_contact.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+3.03 KB
MobileWallet/Assets.xcassets/Images/Contact Book/AddContact.imageset/add_contact.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
MobileWallet/Assets.xcassets/Images/Contact Book/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ets/Images/Contact Book/Placeholders/ContactBookListFavPlaceholder.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-placeholder2.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+10.6 KB
...ges/Contact Book/Placeholders/ContactBookListFavPlaceholder.imageset/ico-placeholder2.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
...assets/Images/Contact Book/Placeholders/ContactBookListPlaceholder.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "ico-placeholder1.pdf", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"preserves-vector-representation" : true, | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Binary file added
BIN
+19.9 KB
...Images/Contact Book/Placeholders/ContactBookListPlaceholder.imageset/ico-placeholder1.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
MobileWallet/Assets.xcassets/Images/Contact Book/Placeholders/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"provides-namespace" : true | ||
} | ||
} |
21 changes: 0 additions & 21 deletions
21
MobileWallet/Assets.xcassets/background 1.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.