set auto-play IT to true by default
This commit is contained in:
parent
e93d643985
commit
d1d078e2b8
2 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ class ModelKey {
|
|||
// making this a random string so that it's harder to guess
|
||||
static const String activatedTrialKey = '7C4EuKIsph';
|
||||
static const String autoPlayMessages = 'autoPlayMessages';
|
||||
static const String itAutoPlay = 'itAutoPlay';
|
||||
static const String itAutoPlay = 'autoPlayIT';
|
||||
|
||||
static const String clientClassCity = "city";
|
||||
static const String clientClassCountry = "country";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class UserSettings {
|
|||
this.dateOfBirth,
|
||||
this.createdAt,
|
||||
this.autoPlayMessages = false,
|
||||
this.itAutoPlay = false,
|
||||
this.itAutoPlay = true,
|
||||
this.activatedFreeTrial = false,
|
||||
this.publicProfile = false,
|
||||
this.targetLanguage,
|
||||
|
|
@ -37,7 +37,7 @@ class UserSettings {
|
|||
? DateTime.parse(json[ModelKey.userCreatedAt])
|
||||
: null,
|
||||
autoPlayMessages: json[ModelKey.autoPlayMessages] ?? false,
|
||||
itAutoPlay: json[ModelKey.itAutoPlay] ?? false,
|
||||
itAutoPlay: json[ModelKey.itAutoPlay] ?? true,
|
||||
activatedFreeTrial: json[ModelKey.activatedTrialKey] ?? false,
|
||||
publicProfile: json[ModelKey.publicProfile] ?? false,
|
||||
targetLanguage: json[ModelKey.l2LanguageKey],
|
||||
|
|
@ -98,7 +98,7 @@ class UserSettings {
|
|||
false,
|
||||
itAutoPlay: (accountData[ModelKey.itAutoPlay]
|
||||
?.content[ModelKey.itAutoPlay] as bool?) ??
|
||||
false,
|
||||
true,
|
||||
activatedFreeTrial: (accountData[ModelKey.activatedTrialKey]
|
||||
?.content[ModelKey.activatedTrialKey] as bool?) ??
|
||||
false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue