1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +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();