mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Merge branch 'Zillode-support-unknown-state'
This commit is contained in:
commit
07027af420
2 changed files with 3 additions and 0 deletions
|
@ -686,6 +686,8 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
|
|||
case "scanning": return c.getString(R.string.state_scanning);
|
||||
case "cleaning": return c.getString(R.string.state_cleaning);
|
||||
case "syncing": return c.getString(R.string.state_syncing);
|
||||
case "unknown": // Fallthrough
|
||||
case "": return c.getString(R.string.state_unknown);
|
||||
}
|
||||
if (BuildConfig.DEBUG) {
|
||||
throw new AssertionError("Unexpected folder state");
|
||||
|
|
|
@ -370,5 +370,6 @@ Please report any problems you encounter via Github.</string>
|
|||
<string name="state_scanning">Scanning</string>
|
||||
<string name="state_cleaning">Cleaning</string>
|
||||
<string name="state_syncing">Syncing</string>
|
||||
<string name="state_unknown">Unknown</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue