mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	show Phone Storage if nothing else shows up, should fix #80
This commit is contained in:
		| @@ -524,6 +524,10 @@ class ContactsHelper(val activity: BaseSimpleActivity) { | ||||
|                 cursor?.close() | ||||
|             } | ||||
|  | ||||
|             if (sources.isEmpty() && activity.config.localAccountName.isEmpty() && activity.config.localAccountType.isEmpty()) { | ||||
|                 sources.add(ContactSource("", "")) | ||||
|             } | ||||
|  | ||||
|             sources.add(ContactSource(activity.getString(R.string.phone_storage_hidden), SMT_PRIVATE)) | ||||
|             callback(ArrayList(sources)) | ||||
|         }.start() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user