Skip to content

Commit

Permalink
[#1431] Minor UI improvements
Browse files Browse the repository at this point in the history
* [#1431] Minor UI improvements

- Account - syncing bar vertical paddings too big

* Add missing bottom padding on About

* Changelog update

* Improve OS info in the support email template

* [#1348] Update restore wallet text field copy

Closes #1348
  • Loading branch information
HonzaR committed May 3, 2024
1 parent 2828c25 commit 6160554
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ directly impact users rather than highlighting other key architectural updates.*
- Concatenation of the messages on a multi-messages transaction has been removed and will be addressed using a new
design

### Fixed
- A few more minor UI improvements

## [1.0 (638)] - 2024-04-26

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ fun AboutMainContent(
)

PrivacyPolicyLink(onPrivacyPolicy)

Spacer(modifier = Modifier.height(ZcashTheme.dimens.spacingHuge))
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ internal fun HistoryContainer(
Column(
modifier = Modifier.background(color = ZcashTheme.colors.historySyncingColor)
) {
Spacer(modifier = Modifier.height(ZcashTheme.dimens.spacingLarge))
Spacer(modifier = Modifier.height(ZcashTheme.dimens.spacingDefault))

// Do not show the app update information and the detailed sync status in the restoring status
// on Account screen
Expand All @@ -138,7 +138,7 @@ internal fun HistoryContainer(
walletSnapshot = walletSnapshot,
)

Spacer(modifier = Modifier.height(ZcashTheme.dimens.spacingLarge))
Spacer(modifier = Modifier.height(ZcashTheme.dimens.spacingDefault))
}
}
when (transactionState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import co.electriccoin.zcash.spackle.AndroidApiVersion
data class OperatingSystemInfo(val sdkInt: Int, val isPreview: Boolean) {
fun toSupportString() =
buildString {
appendLine("Platform: Android")
if (isPreview) {
appendLine("Android API: $sdkInt (preview)")
appendLine("System API: $sdkInt (preview)")
} else {
appendLine("Android API: $sdkInt")
appendLine("System API: $sdkInt")
}
}

Expand Down
2 changes: 1 addition & 1 deletion ui-lib/src/main/res/ui/restore/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<string name="restore_title">Enter secret recovery phrase</string>
<string name="restore_seed_instructions">Enter your 24-word seed phrase to restore the associated wallet.</string>
<string name="restore_seed_hint">Enter private seed here…</string>
<string name="restore_seed_hint">privacy dignity freedom …</string>
<string name="restore_seed_button_next">Next</string>

<string name="restore_seed_warning_suggestions">This word is not in the seed phrase dictionary. Please select the correct one from the suggestions.</string>
Expand Down

0 comments on commit 6160554

Please sign in to comment.