Skip to content

Commit

Permalink
Rename TrackUsingDynamicIslandButton to TrackUsingLiveActivityButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirtex committed Nov 1, 2023
1 parent ac287d5 commit e9f02af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/explore/widgets/next_launch_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class NextLaunchCard extends StatelessWidget {
),
const SizedBox(height: kListSpacing),
if (timeLeft != null && timeLeft < 6.hours && launch != null)
TrackUsingDynamicIslandButton(launch: launch!),
TrackUsingLiveActivityButton(launch: launch!),
ThemedButton(
onPressed: doesExist
? () => context.go('/explore/launch/${launch!.id}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import 'package:launch_library_repository/launch_library_repository.dart';
import 'package:starcat/constants.dart';
import 'package:starcat/notifications/notifications.dart';

class TrackUsingDynamicIslandButton extends StatelessWidget {
const TrackUsingDynamicIslandButton({
class TrackUsingLiveActivityButton extends StatelessWidget {
const TrackUsingLiveActivityButton({
required this.launch,
super.key,
});
Expand Down
2 changes: 1 addition & 1 deletion lib/notifications/widgets/widgets.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export 'notifications_preference_modal.dart';
export 'track_using_dynamic_island_button.dart';
export 'track_using_live_activity_button.dart';

0 comments on commit e9f02af

Please sign in to comment.