diff --git a/lib/services/settings.dart b/lib/services/settings.dart index 14f5bc3..d4d4742 100644 --- a/lib/services/settings.dart +++ b/lib/services/settings.dart @@ -37,6 +37,14 @@ class Settings { _set('logWrap', 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) {