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:
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) {
|
public boolean editFolder(Folder folder, boolean create, Activity activity) {
|
||||||
try {
|
try {
|
||||||
JSONArray folders = mConfig.getJSONArray("Folder");
|
JSONArray folders = mConfig.getJSONArray("Folders");
|
||||||
JSONObject r = null;
|
JSONObject r = null;
|
||||||
if (create) {
|
if (create) {
|
||||||
r = new JSONObject();
|
r = new JSONObject();
|
||||||
|
|
Loading…
Reference in a new issue