Skip to content

Conversation

@romavicdosanjos
Copy link

The error message for network connectivity issues is now more user-friendly.

Code readability has been improved by adjusting line breaks for long lines.

The error message for network connectivity issues is now more user-friendly.

Code readability has been improved by adjusting line breaks for long lines.
Copy link
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

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

TYVM for the contribution, I've just left a small comment.

Comment on lines 82 to 86
return Center(
child: Text(
'An error occurred while trying to connect to the server.\nPlease check your connection or try again later.',
textAlign: TextAlign.center,
));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since the PR is mainly for improving readability, please also split this line:

Suggested change
return Center(
child: Text(
'An error occurred while trying to connect to the server.\nPlease check your connection or try again later.',
textAlign: TextAlign.center,
));
child: Text(
'An error occurred while trying to connect to the server.'
'\nPlease check your connection or try again later.',
textAlign: TextAlign.center,
));

Copy link
Author

@romavicdosanjos romavicdosanjos Jun 19, 2025

Choose a reason for hiding this comment

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

@fernando79513 You are right, the improvement was done.

95e8168

Copy link
Author

Choose a reason for hiding this comment

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

Hi @fernando79513, I'm closing this PR because all the changes here have been incorporated into this one: #19. Thanks!

The error message for server connection issues in `lib/comic.dart`
has been reformatted for better readability by ensuring
the newline character correctly separates the sentences.
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