mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 14:21:16 +00:00
Fixed add folder not working (fixes #147).
This commit is contained in:
parent
12f7b3dbe2
commit
1b34bd9d48
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue