1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-27 13:21:30 +00:00

Fixed add folder not working (fixes #147).

This commit is contained in:
Felix Ableitner 2014-10-10 13:30:44 +03:00
parent 12f7b3dbe2
commit 1b34bd9d48

View file

@ -749,7 +749,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
*/
public boolean editFolder(Folder folder, boolean create, Activity activity) {
try {
JSONArray folders = mConfig.getJSONArray("Folder");
JSONArray folders = mConfig.getJSONArray("Folders");
JSONObject r = null;
if (create) {
r = new JSONObject();