3
0
Fork 0

Remove unused function `_getString`

This commit is contained in:
Michael Brown 2020-12-16 10:23:54 -05:00
parent 150e3d2efc
commit 2c2aa3d2b0
No known key found for this signature in database
GPG Key ID: 3F02D82B487AD431
1 changed files with 0 additions and 8 deletions

View File

@ -30,14 +30,6 @@ class Settings {
_set('darkMode', enabled); _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) { bool _getBool(String key, bool defaultValue) {
final val = _settings[key]; final val = _settings[key];
if (val is bool) { if (val is bool) {