Skip to content

Commit

Permalink
fix a few non-important warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
casimir committed Aug 4, 2023
1 parent 751a000 commit 9d41d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/article.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ArticlePage extends StatefulWidget {
{super.key, required this.articleId, required this.isFullScreen});

final int articleId;
final isFullScreen;
final bool isFullScreen;

@override
State<ArticlePage> createState() => _ArticlePageState();
Expand All @@ -35,7 +35,7 @@ class _ArticlePageState extends State<ArticlePage> {
final article = provider.article;
final scroller = ScrollController();

late final bodyBuilder;
late final Widget bodyBuilder;
if (article == null) {
bodyBuilder = _buildNoArticle();
} else if (article.content == null) {
Expand Down
1 change: 1 addition & 0 deletions tools/init_test_account.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class _HomePageState extends State<HomePage> {
starred: starred,
);
} catch (e) {
// ignore: avoid_print
print('Error while creating $url: $e');
}
setState(() {
Expand Down

0 comments on commit 9d41d49

Please sign in to comment.