add dcc requirement to dcc fields

This commit is contained in:
David Remer 2020-09-03 08:43:03 +03:00
parent 2678d33d9c
commit 4163af8a47
2 changed files with 10 additions and 4 deletions

View file

@ -293,7 +293,9 @@ return array(
'type' => 'checkbox',
'default' => false,
'gateway' => 'dcc',
'requirements' => array(),
'requirements' => array(
'dcc',
),
'screens' => array(
State::STATE_ONBOARDED,
),
@ -310,7 +312,9 @@ return array(
'screens' => array(
State::STATE_ONBOARDED,
),
'requirements' => array(),
'requirements' => array(
'dcc',
),
'gateway' => 'dcc',
),
'description' => array(
@ -347,7 +351,9 @@ return array(
'screens' => array(
State::STATE_ONBOARDED,
),
'requirements' => array(),
'requirements' => array(
'dcc',
),
'gateway' => 'dcc',
),
'intent' => array(

View file

@ -79,7 +79,7 @@ class Settings implements ContainerInterface {
*/
public function reset(): bool {
$this->load();
$this->settings = [];
$this->settings = array();
return true;
}