Remove unused function `_getString`
This commit is contained in:
parent
150e3d2efc
commit
2c2aa3d2b0
|
@ -30,14 +30,6 @@ class Settings {
|
|||
_set('darkMode', enabled);
|
||||
}
|
||||
|
||||
String _getString(String key, String defaultValue) {
|
||||
final val = _settings[key];
|
||||
if (val is String) {
|
||||
return val;
|
||||
}
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
bool _getBool(String key, bool defaultValue) {
|
||||
final val = _settings[key];
|
||||
if (val is bool) {
|
||||
|
|
Loading…
Reference in New Issue