TF-4354 Activate Label by default for all users

This commit is contained in:
dab246
2026-03-03 10:59:37 +07:00
committed by Dat H. Pham
parent 8187040b10
commit 3cdf65866a
3 changed files with 4 additions and 6 deletions
@@ -1,4 +1,3 @@
import 'package:core/utils/platform_info.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:tmail_ui_user/features/manage_account/domain/model/preferences/preferences_config.dart';
@@ -8,10 +7,9 @@ part 'label_config.g.dart';
class LabelConfig extends PreferencesConfig {
final bool isEnabled;
LabelConfig({this.isEnabled = false});
LabelConfig({this.isEnabled = true});
factory LabelConfig.initial() =>
LabelConfig(isEnabled: PlatformInfo.isIntegrationTesting);
factory LabelConfig.initial() => LabelConfig();
factory LabelConfig.fromJson(Map<String, dynamic> json) =>
_$LabelConfigFromJson(json);