Skip to content

PR fix for issue #189 (GUI: have a small explanatory sentence for the rescan date) - #537

Open
TChukwuleta wants to merge 6 commits into
wizardsardine:masterfrom
TChukwuleta:master
Open

PR fix for issue #189 (GUI: have a small explanatory sentence for the rescan date)#537
TChukwuleta wants to merge 6 commits into
wizardsardine:masterfrom
TChukwuleta:master

Conversation

@TChukwuleta

@TChukwuleta TChukwuleta commented May 23, 2023

Copy link
Copy Markdown

Resolved #189

@darosior darosior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK. Thanks for tackling this issue. Please get rid of the merge commit and squash the fixup commit into the one where the whitespace was introduced (as per the guidelines).

Will let @edouardparis have the final call on the code.

@darosior
darosior requested a review from edouardparis May 25, 2023 07:14
.push(text("Rescan date cannot be earlier than wallet creation date or pruned date (if applies)").width(Length::Fill)
.size(15)
.style(color::GREY_3))
.push(Column::new().width(Length::Fill)).push(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recent Iced version introduced Space widget that help us to get ride of empty Column

Suggested change
.push(Column::new().width(Length::Fill)).push(
.push(Space::with_width(Length::Fill)).push(

&& is_ok_and(&u32::from_str(&day.value), |&v| v > 0 && v <= 31))
{
Row::new().push(Column::new().width(Length::Fill)).push(
Row::new().push(Column::new().width(Length::Fill))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Row::new().push(Column::new().width(Length::Fill))
Row::new().push(Space::with_width(Length::Fill))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GUI: have a small explanatory sentence for the rescan date

3 participants