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

fix: Compare on upper case direction name #1901

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Jan 26, 2024

No description provided.

@holzeis holzeis requested a review from bonomat January 26, 2024 07:35
@holzeis holzeis self-assigned this Jan 26, 2024
@@ -117,7 +117,7 @@ class OpenPositionTable extends StatelessWidget {
for (var position in positions)
TableRow(
children: [
buildTableCell(Text(position.direction == "short"
buildTableCell(Text(position.direction == "Short"
Copy link
Contributor

@bonomat bonomat Jan 26, 2024

Choose a reason for hiding this comment

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

nit, alternative you could do position.direction.toLowerCase() == "short"

@holzeis holzeis enabled auto-merge January 26, 2024 07:42
@holzeis holzeis added this pull request to the merge queue Jan 26, 2024
Merged via the queue into main with commit cb7f8ea Jan 26, 2024
10 checks passed
@holzeis holzeis deleted the fix/sign-indication-on-direction branch January 26, 2024 08:04
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.

2 participants