mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 22:31:16 +00:00
Fixed crash if folder state is "error".
This commit is contained in:
parent
3ac46c3536
commit
7daba5789c
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue