Consolidate old and new style app settings (#1391)

* Consolidate old and new style app settings

* Remove unused ctor
This commit is contained in:
Kyle Reed 2023-08-19 09:02:26 -07:00 committed by GitHub
parent cc963c3562
commit d8a6422d37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 68 additions and 155 deletions

View file

@ -227,8 +227,8 @@ class TextEditorView : public View {
// Settings
bool enable_zoom = false;
SettingsStore settings_store_{
"notepad",
{{"enable_zoom", &enable_zoom}}};
"notepad"sv,
{{"enable_zoom"sv, &enable_zoom}}};
static constexpr size_t max_edit_length = 1024;
std::string edit_line_buffer_{};