feat: support multi instances, fix display name resource
- Allow multiple instances for pCloud - Use correct display name resource
This commit is contained in:
parent
85e2b16232
commit
c9a73ced8f
@ -18,9 +18,11 @@ enum class CloudTypeModel(builder: Builder) {
|
||||
.withCloudImageResource(R.drawable.onedrive) //
|
||||
.withVaultImageResource(R.drawable.onedrive_vault) //
|
||||
.withVaultSelectedImageResource(R.drawable.onedrive_vault_selected)), //
|
||||
PCLOUD(Builder("PCLOUD", R.string.cloud_names_dropbox) //
|
||||
.withCloudImageResource(R.drawable.cloud_type_dropbox) //
|
||||
.withCloudImageLargeResource(R.drawable.cloud_type_dropbox_large)), //
|
||||
PCLOUD(Builder("PCLOUD", R.string.cloud_names_pcloud) //
|
||||
//TODO: change icons for pCloud
|
||||
.withCloudImageResource(R.drawable.storage_type_local) //
|
||||
.withCloudImageLargeResource(R.drawable.storage_type_local_large) //
|
||||
.withMultiInstances()), //
|
||||
WEBDAV(Builder("WEBDAV", R.string.cloud_names_webdav) //
|
||||
.withCloudImageResource(R.drawable.webdav) //
|
||||
.withVaultImageResource(R.drawable.webdav_vault) //
|
||||
|
Loading…
x
Reference in New Issue
Block a user