8000 Fix floating wallet/rewards bar for RTL layout by ycohen-dev · Pull Request #1044 · lbryio/lbry-android · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix floating wallet/rewards bar for RTL layout #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

ycohen-dev
Copy link
Contributor

Floating wallet balance/rewards now visible in RTL layout

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number: #1043

What is the current behavior?

Floating wallet fragment pinned to the bottom right of the screen (regardless of layout direction)
Floating wallet fragment does not display wallet balance on RTL layout

What is the new behavior?

Floating wallet fragment pinned to the bottom end of the screen - generalized LTR/RTL solution
Floating wallet fragment now displays both rewards and balance

Screenshots

LTR layout after fix

Not modified
bug_floating_fixed_ltr

RTL layout after fix

Fixed
bug_floating_fixed_rtl

Disclaimer

I swear I'm not splitting every little RTL issue to separate PR's
I'm genuinely finding them one at a time 🤷

@kekkyojin
Copy link
Collaborator

Could you use descriptive commit messages for what they do instead of what fixes on the GitHub repository? Thanks.

@ycohen-dev
Copy link
Contributor Author

@kekkyojin
The PR is not descriptive - the commit message is actually
Floating wallet balance/rewards now visible in RTL layout
Do you want me to close this PR and reopen under a descriptive name?

@ycohen-dev ycohen-dev changed the title Fix issue #1043 Fix floating wallet/rewards bar for RTL layout Oct 22, 2020
@kekkyojin
Copy link
Collaborator

@kekkyojin
The PR is not descriptive - the commit message is actually
Floating wallet balance/rewards now visible in RTL layout

Problem is GitHub only shows first paragraph of commit message. Also, when looking at the Annotate feature on Android Studio or doing a 'git log', it will be needed to read a longer text when searching for a specific change explanation. I suggest you to at least put the descriptive change into the first paragraph and then anything else.

Do you want me to close this PR and reopen under a descriptive name?

No, it was not necessary.

@ycohen-dev
Copy link
Contributor Author

Commit message is now descriptive first, referencing issue second - thus showing fine in git log and android studio.

@akinwale akinwale self-requested a review October 23, 2020 12:24
@lbry-bot lbry-bot assigned akinwale and unassigned akinwale Oct 23, 2020
Copy link
Contributor
@akinwale akinwale left a comment

Choose a reason for hiding this comment

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

Thanks for this. It's great to see these fixes for RTL display issues.

@lbry-bot lbry-bot assigned akinwale and unassigned akinwale Oct 23, 2020
@akinwale akinwale merged commit b8d2375 into lbryio:master Oct 23, 2020
@ycohen-dev ycohen-dev deleted the fix_issue_1043 branch October 23, 2020 13:41
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.

3 participants
0