mirror of
				https://github.com/SimpleMobileTools/Simple-Keyboard.git
				synced 2025-06-05 21:49:26 +02:00 
			
		
		
		
	Removed wrong string and settings layout capitalization item refactored
This commit is contained in:
		| @@ -163,10 +163,10 @@ class SettingsActivity : SimpleActivity() { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     private fun setupSentencesCapitalization() { |     private fun setupSentencesCapitalization() { | ||||||
|         settings_enable_sentences_capitalization_row.isChecked = config.enableSentencesCapitalization |         settings_start_sentences_capitalised_row.isChecked = config.enableSentencesCapitalization | ||||||
|         settings_enable_capitalization_row_holder.setOnClickListener { |         settings_start_sentences_capitalised_holder.setOnClickListener { | ||||||
|             settings_enable_sentences_capitalization_row.toggle() |             settings_start_sentences_capitalised_row.toggle() | ||||||
|             config.enableSentencesCapitalization = settings_enable_sentences_capitalization_row.isChecked |             config.enableSentencesCapitalization = settings_start_sentences_capitalised_row.isChecked | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -207,17 +207,17 @@ | |||||||
|             </RelativeLayout> |             </RelativeLayout> | ||||||
|  |  | ||||||
|             <RelativeLayout |             <RelativeLayout | ||||||
|                 android:id="@+id/settings_enable_capitalization_row_holder" |                 android:id="@+id/settings_start_sentences_capitalised_holder" | ||||||
|                 style="@style/SettingsHolderCheckboxStyle" |                 style="@style/SettingsHolderCheckboxStyle" | ||||||
|                 android:layout_width="match_parent" |                 android:layout_width="match_parent" | ||||||
|                 android:layout_height="wrap_content"> |                 android:layout_height="wrap_content"> | ||||||
|  |  | ||||||
|                 <com.simplemobiletools.commons.views.MyAppCompatCheckbox |                 <com.simplemobiletools.commons.views.MyAppCompatCheckbox | ||||||
|                     android:id="@+id/settings_enable_sentences_capitalization_row" |                     android:id="@+id/settings_start_sentences_capitalised_row" | ||||||
|                     style="@style/SettingsCheckboxStyle" |                     style="@style/SettingsCheckboxStyle" | ||||||
|                     android:layout_width="match_parent" |                     android:layout_width="match_parent" | ||||||
|                     android:layout_height="wrap_content" |                     android:layout_height="wrap_content" | ||||||
|                     android:text="@string/enable_sentences_capitalization" /> |                     android:text="@string/start_sentences_capitalised" /> | ||||||
|  |  | ||||||
|             </RelativeLayout> |             </RelativeLayout> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ | |||||||
|     <string name="keyboard_height">Keyboard height</string> |     <string name="keyboard_height">Keyboard height</string> | ||||||
|     <string name="show_key_borders">Show key borders</string> |     <string name="show_key_borders">Show key borders</string> | ||||||
|     <string name="show_numbers_row">Show numbers on a separate row</string> |     <string name="show_numbers_row">Show numbers on a separate row</string> | ||||||
|     <string name="enable_sentences_capitalization">Capisalise the first word of each sentence</string> |     <string name="start_sentences_capitalised">Start sentences with a capital letter</string> | ||||||
|     <!-- Emojis --> |     <!-- Emojis --> | ||||||
|     <string name="emojis">Emojis</string> |     <string name="emojis">Emojis</string> | ||||||
|     <!-- |     <!-- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user