Skip to content

Commit

Permalink
Fixed not scrollable currency menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrua committed Jan 23, 2024
1 parent 841190e commit 6f83db6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/general_options/general_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class _GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
const Spacer(),
GestureDetector(
onTap: () {
sellectCurrency();
selectCurrency();
},
child: CircleAvatar(
radius: 30.0,
Expand Down Expand Up @@ -169,7 +169,7 @@ class _GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
)));
}

sellectCurrency() {
selectCurrency() {
showDialog(
context: context,
builder: (context) => AlertDialog(
Expand All @@ -183,7 +183,7 @@ class _GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
width: 220,
child: ListView.builder(
itemCount: currencies.length,
physics: const NeverScrollableScrollPhysics(),
physics: const BouncingScrollPhysics(),
shrinkWrap: true,
itemBuilder: (BuildContext context, int index) {
return GestureDetector(
Expand Down

0 comments on commit 6f83db6

Please sign in to comment.