diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-07-22 16:47:30 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-07-22 16:47:30 +0300 |
commit | d8d7ec08fcee3b5b89d8f2e52b6587503fb2b606 (patch) | |
tree | e51bfce39302a69c9697888ae1ff1cb9c70e9bda /app/src | |
parent | fbcab20336437825c56d6dc6a399787a988dfc24 (diff) |
#619 projects - Add talk room as known resource type
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourceViewHolder.java | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourceViewHolder.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourceViewHolder.java index 377d890ab..9a968d112 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourceViewHolder.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourceViewHolder.java @@ -54,6 +54,10 @@ public class CardProjectResourceViewHolder extends RecyclerView.ViewHolder { binding.type.setText(resources.getString(R.string.project_type_file)); break; } + case "room": { + binding.type.setText(resources.getString(R.string.project_type_room)); + break; + } default: { DeckLog.info("Unknown resource type for " + resource.getName() + ": " + resource.getType()); binding.type.setVisibility(GONE); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ad9c6a66c..d51a689ec 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -305,4 +305,5 @@ </plurals> <string name="no_assigned_label">No assigned tag</string> <string name="single_card">Singel card</string> + <string name="project_type_room">Talk room</string> </resources> |