Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
akumaigorodski committed Oct 7, 2024
1 parent d29daae commit 453028c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/src/main/res/layout/activity_hub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
android:layout_width="110sp"
android:layout_margin="7dp"
app:nb_text="@string/wallet_send"
app:nb_textColor="@color/colorAccent"
app:nb_backgroundColor="@color/bg"
android:onClick="bringScanner"
style="@style/GreenButton"/>
Expand All @@ -38,7 +37,6 @@
android:layout_width="110sp"
android:layout_margin="7dp"
app:nb_text="@string/wallet_receive"
app:nb_textColor="@color/colorAccent"
app:nb_backgroundColor="@color/bg"
android:onClick="goToReceivePage"
style="@style/GreenButton"/>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/activity_setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<LinearLayout style="@style/StandardXYMarginLinearLayout">

<com.ornach.nobobutton.NoboButton
android:layout_marginTop="20dp"
app:nb_text="@string/setup_create_new"
android:onClick="createNewWallet"
style="@style/GreenButton"/>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<!-- item styles -->

<style name="GreenButton">
<item name="nb_textColor">@color/colorAccent</item>
<item name="nb_focusColor">@color/buttonGreenRipple</item>
<item name="nb_borderColor">@color/buttonGreenBorder</item>
<item name="nb_backgroundColor">@color/buttonGreen</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class SettingsActivity extends BaseCheckActivity with MnemonicActivity with Choi
override def PROCEED(state: Bundle): Unit = {
setContentView(R.layout.activity_settings)

val title = new TitleView("<strong>S</strong>imple <strong>B</strong>itcoin <strong>W</strong>allet")
val title = new TitleView("-= <strong>S</strong>imple <strong>B</strong>itcoin <strong>W</strong>allet =-")
addFlowChip(title.flow, "Sources", R.drawable.border_gray, _ => me browse "/~https://github.com/akumaigorodski/wallet")
addFlowChip(title.flow, "Manual", R.drawable.border_gray, _ => me browse "https://sbw.app/posts/manual")

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/scala/com/btcontract/wallet/SetupActivity.scala
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ class SetupActivity extends BaseActivity with MnemonicActivity { me =>

override def START(s: Bundle): Unit = {
setContentView(R.layout.activity_setup)

val title = new TitleView("-= <strong>S</strong>imple <strong>B</strong>itcoin <strong>W</strong>allet =-")
activityContainer.addView(electrum.view, 0)
activityContainer.addView(title.view, 0)
electrum.updateView
}

Expand Down

0 comments on commit 453028c

Please sign in to comment.