Skip to content
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

#602 Change post button to be more obvious #691

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

Chris-Kropp
Copy link
Contributor

@Chris-Kropp Chris-Kropp commented Jun 16, 2023

resolves #602 This changes the submit icon from add to submit and adds a preview for the post header.
Icon_only

Copy link
Contributor

@twizmwazin twizmwazin left a comment

Choose a reason for hiding this comment

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

Your change looks great. Can you fix the commit history?

@Chris-Kropp Chris-Kropp force-pushed the #602-Update-Post-Button branch from e705b43 to d05bd81 Compare June 16, 2023 04:12
@Chris-Kropp Chris-Kropp requested a review from twizmwazin June 16, 2023 04:13
@twizmwazin
Copy link
Contributor

Run ./gradlew formatKotlin to fix the formatting

@Chris-Kropp Chris-Kropp force-pushed the #602-Update-Post-Button branch from d05bd81 to 6d9345a Compare June 16, 2023 04:31
contentDescription = stringResource(R.string.form_submit),
)
// Todo add are you sure cancel dialog+
if (formValid && !loading) {
Copy link
Member

Choose a reason for hiding this comment

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

Loading was already checked above.

// Todo add are you sure cancel dialog+
if (formValid && !loading) {
Icon(
Icons.Filled.Send,
Copy link
Member

Choose a reason for hiding this comment

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

Would be much easier to do icon = if (formValid) { ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's much cleaner

@Chris-Kropp Chris-Kropp requested a review from dessalines June 17, 2023 02:23
Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

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

LGTM. I'll handle the merge conflict.

@dessalines dessalines merged commit 68d9023 into LemmyNet:main Jun 19, 2023
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.

Post Button
3 participants