Skip to content

Commit

Permalink
feat: create wallet and generate key screens
Browse files Browse the repository at this point in the history
  • Loading branch information
zintarh committed Oct 11, 2024
1 parent 8a304eb commit 32d73c1
Show file tree
Hide file tree
Showing 7 changed files with 705 additions and 320 deletions.
318 changes: 0 additions & 318 deletions wallet_app/android/.idea/other.xml

This file was deleted.

10 changes: 10 additions & 0 deletions wallet_app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,20 @@
<activity android:name=".AccountPasswordActivity"
android:exported="true"
android:theme="@style/Theme.Walletapp"/>

<activity android:name=".RecoveryPhraseActivity"
android:exported="true"
android:theme="@style/Theme.Walletapp"/>

<activity android:name=".ui.activity.CreateAccountActivity"
android:exported="true"
android:theme="@style/Theme.Walletapp"/>


<activity android:name=".ui.activity.AccountInfoActivity"
android:exported="true"
android:theme="@style/Theme.Walletapp"/>

<activity android:name=".WalletActivity"
android:exported="true"
android:theme="@style/Theme.Walletapp"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.core.graphics.toColorInt
import androidx.core.view.WindowCompat
import com.example.walletapp.ui.activity.CreateAccountActivity
import com.example.walletapp.ui.theme.WalletappTheme

import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
Expand Down Expand Up @@ -98,7 +98,7 @@ fun CreateAccount( modifier: Modifier) {
verticalArrangement = Arrangement.spacedBy(8.dp) // Adjust space between buttons
) {
Button(
onClick = { val i = Intent(context, AccountPasswordActivity::class.java)
onClick = { val i = Intent(context, CreateAccountActivity::class.java)
context.startActivity(i) },
colors = ButtonDefaults.buttonColors(backgroundColor = Color("#1B1B76".toColorInt())),
shape = RoundedCornerShape(10.dp),
Expand Down
Loading

0 comments on commit 32d73c1

Please sign in to comment.