mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
TF-3878 Thread Detail Make default setting off
This commit is contained in:
1 parent
0c372d0465
commit
683ca404f7
2 files changed
+2
-2
No files matched your search
@@ -53,7 +53,7 @@ enum SettingOptionType {
|
||||
case SettingOptionType.senderPriority:
|
||||
return settingOption?.isDisplaySenderPriority ?? false;
|
||||
case SettingOptionType.thread:
|
||||
return localSettings.threadDetailEnabled ?? true;
|
||||
return localSettings.threadDetailEnabled ?? false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ class ThreadDetailLocalDataSourceImpl implements ThreadDetailDataSource {
|
||||
final localSetting = await _localSettingCacheManager.get([
|
||||
SupportedLocalSetting.threadDetail,
|
||||
]);
|
||||
return (localSetting[SupportedLocalSetting.threadDetail]?.setting as ThreadDetailLocalSettingDetail?)?.value ?? true;
|
||||
return (localSetting[SupportedLocalSetting.threadDetail]?.setting as ThreadDetailLocalSettingDetail?)?.value ?? false;
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user