-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 1.0.0-alpha04
- Loading branch information
Showing
198 changed files
with
4,412 additions
and
530 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
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
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
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
9 changes: 9 additions & 0 deletions
9
...java/chat/sphinx/activitymain/navigation/navigators/detail/SendAttachmentNavigatorImpl.kt
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 @@ | ||
package chat.sphinx.activitymain.navigation.navigators.detail | ||
|
||
import chat.sphinx.activitymain.navigation.drivers.DetailNavigationDriver | ||
import chat.sphinx.send_attachment.navigation.SendAttachmentNavigator | ||
import javax.inject.Inject | ||
|
||
internal class SendAttachmentNavigatorImpl @Inject constructor( | ||
detailDriver: DetailNavigationDriver, | ||
): SendAttachmentNavigator(detailDriver) |
10 changes: 9 additions & 1 deletion
10
...n/java/chat/sphinx/activitymain/navigation/navigators/primary/ContactChatNavigatorImpl.kt
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,11 +1,19 @@ | ||
package chat.sphinx.activitymain.navigation.navigators.primary | ||
|
||
import chat.sphinx.activitymain.navigation.drivers.DetailNavigationDriver | ||
import chat.sphinx.activitymain.navigation.drivers.PrimaryNavigationDriver | ||
import chat.sphinx.chat_contact.navigation.ContactChatNavigator | ||
import chat.sphinx.payment_send.navigation.ToPaymentSendDetail | ||
import chat.sphinx.wrapper_common.dashboard.ChatId | ||
import chat.sphinx.wrapper_common.dashboard.ContactId | ||
import javax.inject.Inject | ||
|
||
internal class ContactChatNavigatorImpl @Inject constructor( | ||
navigationDriver: PrimaryNavigationDriver | ||
navigationDriver: PrimaryNavigationDriver, | ||
private val detailDriver: DetailNavigationDriver, | ||
): ContactChatNavigator(navigationDriver) | ||
{ | ||
override suspend fun toPaymentSendDetail(contactId: ContactId, chatId: ChatId?) { | ||
detailDriver.submitNavigationRequest(ToPaymentSendDetail(contactId, chatId)) | ||
} | ||
} |
11 changes: 10 additions & 1 deletion
11
...ain/java/chat/sphinx/activitymain/navigation/navigators/primary/GroupChatNavigatorImpl.kt
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,11 +1,20 @@ | ||
package chat.sphinx.activitymain.navigation.navigators.primary | ||
|
||
import chat.sphinx.activitymain.navigation.drivers.DetailNavigationDriver | ||
import chat.sphinx.activitymain.navigation.drivers.PrimaryNavigationDriver | ||
import chat.sphinx.chat_group.navigation.GroupChatNavigator | ||
import chat.sphinx.payment_send.navigation.ToPaymentSendDetail | ||
import chat.sphinx.wrapper_common.dashboard.ChatId | ||
import chat.sphinx.wrapper_common.dashboard.ContactId | ||
import javax.inject.Inject | ||
|
||
internal class GroupChatNavigatorImpl @Inject constructor( | ||
navigationDriver: PrimaryNavigationDriver | ||
navigationDriver: PrimaryNavigationDriver, | ||
private val detailDriver: DetailNavigationDriver, | ||
): GroupChatNavigator(navigationDriver) | ||
{ | ||
override suspend fun toPaymentSendDetail(contactId: ContactId, chatId: ChatId?) { | ||
detailDriver.submitNavigationRequest(ToPaymentSendDetail(contactId, chatId)) | ||
} | ||
|
||
} |
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
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
4 changes: 4 additions & 0 deletions
4
sphinx/application/common/resources/src/main/res/drawable/background_button_pin_pad.xml
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@android:color/white"> | ||
<item android:drawable="@drawable/square_deep_night" /> | ||
</ripple> |
12 changes: 12 additions & 0 deletions
12
sphinx/application/common/resources/src/main/res/drawable/ic_camera.xml
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,12 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="344dp" | ||
android:height="276.28dp" | ||
android:viewportWidth="344" | ||
android:viewportHeight="276.28"> | ||
<path | ||
android:pathData="M316,276.28H28a28,28 0,0 1,-28 -28v-183a28,28 0,0 1,28 -28H93.27l9.11,-17.84a20.52,20.52 0,0 1,1.77 -2.93C111.16,6.79 124.39,0 136.3,0h70.94c11.92,0 25.14,6.79 32.16,16.52a20.47,20.47 0,0 1,1.8 3L250,37.28h66a28,28 0,0 1,28 28v183A28,28 0,0 1,316 276.28ZM28,61.28a4.05,4.05 0,0 0,-4 4v183a4.05,4.05 0,0 0,4 4H316a4.05,4.05 0,0 0,4 -4v-183a4.05,4.05 0,0 0,-4 -4H242.56a12,12 0,0 1,-10.75 -6.67l-12,-24.27C217.19,27 211.32,24 207.24,24H136.3c-4.08,0 -10,3 -12.54,6.36L111.31,54.74a12,12 0,0 1,-10.69 6.54Z" | ||
android:fillColor="#010101"/> | ||
<path | ||
android:pathData="M171.86,103.12a47.66,47.66 0,1 1,-47.66 47.66,47.35 47.35,0 0,1 47.66,-47.66h0m0,-24a71.66,71.66 0,1 0,71.66 71.66,71.66 71.66,0 0,0 -71.66,-71.66Z" | ||
android:fillColor="#231f20"/> | ||
</vector> |
15 changes: 15 additions & 0 deletions
15
sphinx/application/common/resources/src/main/res/drawable/ic_media_library.xml
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 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="318dp" | ||
android:height="318dp" | ||
android:viewportWidth="318" | ||
android:viewportHeight="318"> | ||
<path | ||
android:pathData="M287,0L31,0A31,31 0,0 0,0 31L0,287a31,31 0,0 0,31 31L287,318a31,31 0,0 0,31 -31L318,31A31,31 0,0 0,287 0ZM294,287a7,7 0,0 1,-7 7L31,294a7,7 0,0 1,-7 -7L24,31a7,7 0,0 1,7 -7L287,24a7,7 0,0 1,7 7Z" | ||
android:fillColor="#231f20"/> | ||
<path | ||
android:pathData="M217.08,135.35a12,12 0,0 0,-17 0l-55.17,55.17L122.37,168a12,12 0,0 0,-17 0L38.12,235.25a12,12 0,0 0,17 17l58.79,-58.79 44.26,44.26a12,12 0,0 0,17 -17L161.9,207.5l46.69,-46.69 52.46,52.46a12,12 0,1 0,17 -17Z" | ||
android:fillColor="#231f20"/> | ||
<path | ||
android:pathData="M95.46,132.08A37.61,37.61 0,1 0,57.85 94.47,37.65 37.65,0 0,0 95.46,132.08ZM95.46,80.86A13.61,13.61 0,1 1,81.85 94.47,13.63 13.63,0 0,1 95.46,80.86Z" | ||
android:fillColor="#231f20"/> | ||
</vector> |
Oops, something went wrong.