-
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.
Handled the case "no private key available for account(create a new k…
…ey for email)".| #597
- Loading branch information
Showing
12 changed files
with
202 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- | ||
~ © 2016-present FlowCrypt a.s. Limitations apply. Contact [email protected] | ||
~ Contributors: denbond7 | ||
--> | ||
|
||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="32dp" | ||
android:height="32dp" | ||
android:tint="@color/gray" | ||
android:viewportWidth="960" | ||
android:viewportHeight="960"> | ||
|
||
<path | ||
android:fillColor="@android:color/white" | ||
android:pathData="M654.45,443.76L654.45,323.76L534.45,323.76v-80h120v-120h80v120h120v80L734.45,323.76v120z" /> | ||
|
||
<path | ||
android:fillColor="@android:color/white" | ||
android:pathData="m324.77,836.24 l-82.21,-82.21v-254.85c-40.19,-11.87 -73.07,-34.48 -98.65,-67.82 -25.58,-33.34 -38.36,-71.93 -38.36,-115.78 0,-52.98 18.73,-98.19 56.18,-135.65C199.17,142.49 244.39,123.76 297.37,123.76c52.98,0 98.19,18.73 135.65,56.18 37.45,37.45 56.18,82.67 56.18,135.65 0,41.1 -11.65,77.64 -34.94,109.61 -23.29,31.97 -52.75,54.81 -88.37,68.51l68.51,68.51 -82.21,82.21 82.21,82.21zM297.37,342.98c15.53,0 28.54,-5.25 39.05,-15.76 10.5,-10.5 15.76,-23.52 15.76,-39.05 0,-15.53 -5.25,-28.54 -15.76,-39.05 -10.5,-10.5 -23.52,-15.76 -39.05,-15.76 -15.53,0 -28.54,5.25 -39.05,15.76 -10.5,10.5 -15.76,23.52 -15.76,39.05 0,15.53 5.25,28.54 15.76,39.05 10.5,10.5 23.52,15.76 39.05,15.76z" | ||
android:strokeWidth="1.37015" /> | ||
|
||
</vector> |
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
58 changes: 58 additions & 0 deletions
58
FlowCrypt/src/main/res/navigation/create_new_private_key_graph.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,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ © 2016-present FlowCrypt a.s. Limitations apply. Contact [email protected] | ||
~ Contributors: denbond7 | ||
--> | ||
|
||
<navigation xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/create_new_private_key_graph" | ||
app:startDestination="@id/createPrivateKeyFirstFragment"> | ||
|
||
<fragment | ||
android:id="@+id/createPrivateKeyFirstFragment" | ||
android:name="com.flowcrypt.email.ui.activity.fragment.CreatePrivateKeyFirstFragment" | ||
tools:layout="@layout/fragment_create_private_key_first"> | ||
<argument | ||
android:name="requestKey" | ||
app:argType="string" /> | ||
<argument | ||
android:name="accountEntity" | ||
app:argType="com.flowcrypt.email.database.entity.AccountEntity" /> | ||
<action | ||
android:id="@+id/action_createPrivateKeyFirstFragment_to_createPrivateKeySecondFragment" | ||
app:destination="@id/createPrivateKeySecondFragment" /> | ||
</fragment> | ||
|
||
<fragment | ||
android:id="@+id/createPrivateKeySecondFragment" | ||
android:name="com.flowcrypt.email.ui.activity.fragment.CreatePrivateKeySecondFragment" | ||
android:label="@string/security" | ||
tools:layout="@layout/fragment_create_private_key_second"> | ||
<argument | ||
android:name="accountEntity" | ||
app:argType="com.flowcrypt.email.database.entity.AccountEntity" /> | ||
<argument | ||
android:name="passphrase" | ||
app:argType="integer[]" /> | ||
<action | ||
android:id="@+id/action_createPrivateKeySecondFragment_to_createPrivateKeyDialogFragment" | ||
app:destination="@id/createPrivateKeyDialogFragment" /> | ||
</fragment> | ||
|
||
<dialog | ||
android:id="@+id/createPrivateKeyDialogFragment" | ||
android:name="com.flowcrypt.email.ui.activity.fragment.dialog.CreatePrivateKeyDialogFragment" | ||
tools:layout="@layout/fragment_create_private_key_dialog"> | ||
<argument | ||
android:name="requestKey" | ||
app:argType="string" /> | ||
<argument | ||
android:name="accountEntity" | ||
app:argType="com.flowcrypt.email.database.entity.AccountEntity" /> | ||
<argument | ||
android:name="passphrase" | ||
app:argType="string" /> | ||
</dialog> | ||
|
||
</navigation> |
Oops, something went wrong.