TF-4354 Remove all logic related to Label Visibility in Settings

This commit is contained in:
dab246
2026-03-04 11:40:52 +07:00
committed by Dat H. Pham
parent de083b3aff
commit 777b47159d
18 changed files with 5 additions and 227 deletions
@@ -1,17 +0,0 @@
import 'package:shared_preferences/shared_preferences.dart';
class SettingCacheManager {
static const String _labelVisibilitySettingKey = 'LABEL_VISIBILITY';
const SettingCacheManager(this._sharedPreferences);
final SharedPreferences _sharedPreferences;
bool getLabelVisibility() {
return _sharedPreferences.getBool(_labelVisibilitySettingKey) ?? true;
}
Future<void> saveLabelVisibility(bool visible) async {
await _sharedPreferences.setBool(_labelVisibilitySettingKey, visible);
}
}