Thanks to visit codestin.com
Credit goes to github.com

Skip to content

#602 Change post button to be more obvious#691

Merged
dessalines merged 2 commits into
LemmyNet:mainfrom
Chris-Kropp:#602-Update-Post-Button
Jun 19, 2023
Merged

#602 Change post button to be more obvious#691
dessalines merged 2 commits into
LemmyNet:mainfrom
Chris-Kropp:#602-Update-Post-Button

Conversation

@Chris-Kropp

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

Copy link
Copy Markdown
Contributor

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

@twizmwazin twizmwazin left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

@dessalines dessalines 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.

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