TF-3977 Separate settings keys for easier in conflict
This commit is contained in:
+2
-2
@@ -28,8 +28,8 @@ class ThreadDetailLocalDataSourceImpl implements ThreadDetailDataSource {
|
||||
@override
|
||||
Future<bool> getThreadDetailStatus() {
|
||||
return Future.sync(() async {
|
||||
final preferencesRoot = await _preferencesSettingManager.loadPreferences();
|
||||
return preferencesRoot.setting.threadDetail.isEnabled;
|
||||
final threadConfig = await _preferencesSettingManager.getThreadConfig();
|
||||
return threadConfig.isEnabled;
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user