Applied feedback

- changes string name to show_word_count
- changed id of relative layout to notes_relative_layout

refs #141
This commit is contained in:
Christopher
2017-11-20 23:02:13 +01:00
parent d2fb9240fa
commit 460c278809
19 changed files with 20 additions and 20 deletions

View File

@ -25,8 +25,8 @@ class Config(context: Context) : BaseConfig(context) {
set(showKeyboard) = prefs.edit().putBoolean(SHOW_KEYBOARD, showKeyboard).apply()
var showWordCount: Boolean
get() = prefs.getBoolean(SHOW_WORDCOUNT, false)
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORDCOUNT, showWordCount).apply()
get() = prefs.getBoolean(SHOW_WORD_COUNT, false)
set(showWordCount) = prefs.edit().putBoolean(SHOW_WORD_COUNT, showWordCount).apply()
var fontSize: Int
get() = prefs.getInt(FONT_SIZE, FONT_SIZE_MEDIUM)

View File

@ -10,7 +10,7 @@ val CLICKABLE_LINKS = "clickable_links"
val WIDGET_NOTE_ID = "widget_note_id"
val MONOSPACED_FONT = "monospaced_font"
val SHOW_KEYBOARD = "show_keyboard"
val SHOW_WORDCOUNT = "show_word_count"
val SHOW_WORD_COUNT = "show_word_count"
val FONT_SIZE = "font_size"
val GRAVITY = "gravity"
val CURSOR_PLACEMENT = "cursor_placement"