From 72dc2827854e07bc3a5554b047c026707633f156 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 15 Jun 2019 11:52:48 +0200 Subject: [PATCH] Add folder state "scan-waiting" (fixes #420) --- .../com/nutomic/syncthingandroid/views/FoldersAdapter.java | 4 ++++ app/src/main/res/values-de/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 3 files changed, 6 insertions(+) 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 92b2a055..f44696ee 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/views/FoldersAdapter.java @@ -114,6 +114,10 @@ public class FoldersAdapter extends ArrayAdapter { binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_green)); } break; + case "scan-waiting": + binding.state.setText(mContext.getString(R.string.state_scan_waiting)); + binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_orange)); + break; case "scanning": binding.state.setText(mContext.getString(R.string.state_scanning)); binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_blue)); diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index a9fd9d88..99b22aac 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -865,6 +865,7 @@ Bitte melden Sie auftretende Probleme via GitHub. Untätig Scannen + Warte auf Scan Synchronisiere Synchronisiere (%1$d%%) Fehler diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b8eb5505..7003876a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -886,6 +886,7 @@ Please report any problems you encounter via Github. Idle Scanning + Waiting to Scan Syncing Syncing (%1$d%%) Error