diff --git a/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java b/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java index e76fc21d..21d01935 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java @@ -105,8 +105,14 @@ public class FoldersAdapter extends ArrayAdapter { } else { switch(folderStatus.state) { case "idle": - binding.state.setText(mContext.getString(R.string.state_idle)); - binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_green)); + if (folder.getDeviceCount() <= 1) { + // Special case: The folder is IDLE and UNSHARED. + binding.state.setText(mContext.getString(R.string.state_unshared)); + binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_orange)); + } else { + binding.state.setText(mContext.getString(R.string.state_idle)); + binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_green)); + } break; case "scanning": binding.state.setText(mContext.getString(R.string.state_scanning)); diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index b379c5cc..406583a1 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -840,6 +840,7 @@ Bitte melden Sie auftretende Probleme via GitHub. Unbekannt Pausiert Nicht synchronisiert + Ungeteilt %1$s / %2$s diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 0018ce60..5d2bb95c 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -9,6 +9,7 @@ #ffff4444 #ff33b5e5 #ff99cc00 + #f57c00 #cccccc diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2099cc1d..c236a819 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -861,6 +861,7 @@ Please report any problems you encounter via Github. Unknown Paused Out of Sync + Unshared %1$s / %2$s