Skip to content

Commit

Permalink
migration needed for these elements (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uttkarsh-raj authored Aug 8, 2024
1 parent cd26ed2 commit f49591e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/pages/company_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class _CompanyDetailPageState extends State<CompanyDetailPage> {
),
),
),
ButtonBar(
OverflowBar(
alignment: MainAxisAlignment.start,
children: [
TextButton.icon(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/pages/home/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class _HomeState extends ConsumerState<Home> {
final isDarkMode = ref.watch(darkModeProvider);
return PopScope(
canPop: false,
onPopInvoked: (_) async {
onPopInvokedWithResult: (__, _) async {
showGeneralDialog(
context: context,
barrierLabel: "Barrier",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/pages/leaderboards/monthly_leaderboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _MonthlyLeaderBoardPageState
final Size size = MediaQuery.of(context).size;
final monthlyLeadersState = ref.watch(monthlyLeaderBoardProvider);
return PopScope(
onPopInvoked: (_) async {
onPopInvokedWithResult: (__, _) async {
ref
.watch(monthlyLeaderBoardProvider.notifier)
.refreshMonthlyLeaderList(
Expand Down

0 comments on commit f49591e

Please sign in to comment.