Skip to content

Commit

Permalink
BirthdayCalendar renaming local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerPacific committed Jul 27, 2024
1 parent b116279 commit 74871fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/page/birthday/birthday.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class _BirthdayWidgetState extends State<BirthdayWidget> {
final _phoneNumberKey = GlobalKey<FormFieldState>();
TextEditingController _phoneNumberController = new TextEditingController();

AlertDialog alert = AlertDialog(
AlertDialog addPhoneNumberAlert = AlertDialog(
title: Text("Add Phone Number"),
content: InternationalPhoneNumberInput(
key: _phoneNumberKey,
Expand Down Expand Up @@ -105,7 +105,7 @@ class _BirthdayWidgetState extends State<BirthdayWidget> {
showDialog(
context: context,
builder: (BuildContext context) {
return alert;
return addPhoneNumberAlert;
});
}

Expand Down

0 comments on commit 74871fa

Please sign in to comment.