mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	moving the start_name_with_surname config into commons
This commit is contained in:
		| @@ -57,7 +57,7 @@ android { | |||||||
| } | } | ||||||
|  |  | ||||||
| dependencies { | dependencies { | ||||||
|     implementation 'com.simplemobiletools:commons:5.28.26' |     implementation 'com.simplemobiletools:commons:5.28.27' | ||||||
|     implementation 'joda-time:joda-time:2.10.1' |     implementation 'joda-time:joda-time:2.10.1' | ||||||
|     implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' |     implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' | ||||||
|     implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a' |     implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a' | ||||||
|   | |||||||
| @@ -24,10 +24,6 @@ class Config(context: Context) : BaseConfig(context) { | |||||||
|         get() = prefs.getBoolean(SHOW_ONLY_CONTACTS_WITH_NUMBERS, false) |         get() = prefs.getBoolean(SHOW_ONLY_CONTACTS_WITH_NUMBERS, false) | ||||||
|         set(showOnlyContactsWithNumbers) = prefs.edit().putBoolean(SHOW_ONLY_CONTACTS_WITH_NUMBERS, showOnlyContactsWithNumbers).apply() |         set(showOnlyContactsWithNumbers) = prefs.edit().putBoolean(SHOW_ONLY_CONTACTS_WITH_NUMBERS, showOnlyContactsWithNumbers).apply() | ||||||
|  |  | ||||||
|     var startNameWithSurname: Boolean |  | ||||||
|         get() = prefs.getBoolean(START_NAME_WITH_SURNAME, false) |  | ||||||
|         set(startNameWithSurname) = prefs.edit().putBoolean(START_NAME_WITH_SURNAME, startNameWithSurname).apply() |  | ||||||
|  |  | ||||||
|     var lastUsedContactSource: String |     var lastUsedContactSource: String | ||||||
|         get() = prefs.getString(LAST_USED_CONTACT_SOURCE, "")!! |         get() = prefs.getString(LAST_USED_CONTACT_SOURCE, "")!! | ||||||
|         set(lastUsedContactSource) = prefs.edit().putString(LAST_USED_CONTACT_SOURCE, lastUsedContactSource).apply() |         set(lastUsedContactSource) = prefs.edit().putString(LAST_USED_CONTACT_SOURCE, lastUsedContactSource).apply() | ||||||
|   | |||||||
| @@ -12,7 +12,6 @@ const val SHOW_CONTACT_THUMBNAILS = "show_contact_thumbnails" | |||||||
| const val SHOW_PHONE_NUMBERS = "show_phone_numbers" | const val SHOW_PHONE_NUMBERS = "show_phone_numbers" | ||||||
| const val SHOW_ONLY_CONTACTS_WITH_NUMBERS = "show_only_contacts_with_numbers" | const val SHOW_ONLY_CONTACTS_WITH_NUMBERS = "show_only_contacts_with_numbers" | ||||||
| const val IGNORED_CONTACT_SOURCES = "ignored_contact_sources_2" | const val IGNORED_CONTACT_SOURCES = "ignored_contact_sources_2" | ||||||
| const val START_NAME_WITH_SURNAME = "start_name_with_surname" |  | ||||||
| const val LAST_USED_CONTACT_SOURCE = "last_used_contact_source" | const val LAST_USED_CONTACT_SOURCE = "last_used_contact_source" | ||||||
| const val ON_CONTACT_CLICK = "on_contact_click" | const val ON_CONTACT_CLICK = "on_contact_click" | ||||||
| const val SHOW_CONTACT_FIELDS = "show_contact_fields" | const val SHOW_CONTACT_FIELDS = "show_contact_fields" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user