1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 19:31:30 +00:00

Fixed crash if folder state is "error".

This commit is contained in:
Felix Ableitner 2015-07-07 01:45:47 +02:00
parent 3ac46c3536
commit 7daba5789c
2 changed files with 2 additions and 0 deletions

View file

@ -742,6 +742,7 @@ 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 "error": return c.getString(R.string.state_error);
case "unknown": // Fallthrough
case "": return c.getString(R.string.state_unknown);
}

View file

@ -431,6 +431,7 @@ 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_error">Error</string>
<string name="state_unknown">Unknown</string>
</resources>