Add settings page #46
1 changed files with 2 additions and 2 deletions
small fixes
commit
c89bced551
|
|
@ -150,6 +150,7 @@ class SettingsPage extends ConsumerWidget {
|
||||||
if (categoriesArePages) {
|
if (categoriesArePages) {
|
||||||
// Navigator.of(context).push(route);
|
// Navigator.of(context).push(route);
|
||||||
} else {
|
} else {
|
||||||
|
controller.text = "";
|
||||||
selected.value = match.$1.$1;
|
selected.value = match.$1.$1;
|
||||||
listController.value.animateToItem(
|
listController.value.animateToItem(
|
||||||
index: match.$1.$2,
|
index: match.$1.$2,
|
||||||
|
|
@ -239,8 +240,7 @@ class SettingsPage extends ConsumerWidget {
|
||||||
),
|
),
|
||||||
children: buildCategories(settings)
|
children: buildCategories(settings)
|
||||||
.values
|
.values
|
||||||
.flattenedToList[selected
|
.flattenedToList[index]
|
||||||
.value]
|
|
||||||
.settings
|
.settings
|
||||||
.map(
|
.map(
|
||||||
(setting) => Padding(
|
(setting) => Padding(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue