mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-26 20:26:02 +00:00
make advanced settings view scrollable
TODO make other views scrollable, too
This commit is contained in:
parent
1f3ce757bd
commit
033850c677
1 changed files with 283 additions and 280 deletions
|
@ -36,7 +36,8 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
debugPrint("BUILD: $runtimeType");
|
debugPrint("BUILD: $runtimeType");
|
||||||
return Column(
|
return SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
|
@ -103,8 +104,8 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
width: 40,
|
width: 40,
|
||||||
child: DraggableSwitchButton(
|
child: DraggableSwitchButton(
|
||||||
isOn: ref.watch(
|
isOn: ref.watch(
|
||||||
prefsChangeNotifierProvider
|
prefsChangeNotifierProvider.select(
|
||||||
.select((value) => value.showTestNetCoins),
|
(value) => value.showTestNetCoins),
|
||||||
),
|
),
|
||||||
onValueChanged: (newValue) {
|
onValueChanged: (newValue) {
|
||||||
ref
|
ref
|
||||||
|
@ -141,8 +142,8 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
width: 40,
|
width: 40,
|
||||||
child: DraggableSwitchButton(
|
child: DraggableSwitchButton(
|
||||||
isOn: ref.watch(
|
isOn: ref.watch(
|
||||||
prefsChangeNotifierProvider
|
prefsChangeNotifierProvider.select(
|
||||||
.select((value) => value.enableCoinControl),
|
(value) => value.enableCoinControl),
|
||||||
),
|
),
|
||||||
onValueChanged: (newValue) {
|
onValueChanged: (newValue) {
|
||||||
ref
|
ref
|
||||||
|
@ -177,8 +178,8 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
"Stack Experience",
|
"Stack Experience",
|
||||||
style:
|
style: STextStyles.desktopTextExtraSmall(
|
||||||
STextStyles.desktopTextExtraSmall(context)
|
context)
|
||||||
.copyWith(
|
.copyWith(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
|
@ -187,7 +188,8 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
externalCalls ? "Easy crypto" : "Incognito",
|
externalCalls ? "Easy crypto" : "Incognito",
|
||||||
style: STextStyles.desktopTextExtraExtraSmall(
|
style:
|
||||||
|
STextStyles.desktopTextExtraExtraSmall(
|
||||||
context),
|
context),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -337,6 +339,7 @@ class _AdvancedSettings extends ConsumerState<AdvancedSettings> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue