Skip to content

Commit

Permalink
fixed minor error
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-deriv committed Jul 16, 2024
1 parent 37ee5e1 commit a95d48a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/update_checker/example/lib/update_bloc_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class UpdateBlocPage extends StatefulWidget {

class _UpdateBlocPageState extends State<UpdateBlocPage> {
final UpdateBloc updateBloc =
UpdateBloc(firebaseRepository: const FirebaseRemoteConfigRepository());
UpdateBloc(firebaseRepository: FirebaseRemoteConfigRepository());

@override
Widget build(BuildContext context) => Scaffold(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class UpdateCheckerPage extends StatelessWidget {
),
body: Builder(
builder: (BuildContext context) => UpdateChecker(
firebaseRepository: const FirebaseRemoteConfigRepository(),
firebaseRepository: FirebaseRemoteConfigRepository(),
onNotAvailable: () => _showSnackBar(
context,
'Update not available',
Expand Down

0 comments on commit a95d48a

Please sign in to comment.