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

Session/11 #24

Merged
merged 21 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove circularProgressIndicatorKey
mqkotoo committed Oct 18, 2023
commit 8944c59ec0dc5e3edc287460288547f115a63151
8 changes: 2 additions & 6 deletions lib/view/weather_view/weather_page.dart
Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@ class WeatherPage extends ConsumerWidget {
static final closeButtonKey = UniqueKey();
@visibleForTesting
static final reloadButton = UniqueKey();
@visibleForTesting
static final circularProgressIndicatorKey = UniqueKey();

@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -79,12 +77,10 @@ class WeatherPage extends ConsumerWidget {
),
// ローディングを表示
if (isLoading)
ColoredBox(
const ColoredBox(
color: Colors.black26,
child: Center(
child: CircularProgressIndicator(
key: circularProgressIndicatorKey,
),
child: CircularProgressIndicator(),
),
),
],