Bladeren bron

Sync via https

Iñigo Valentin 9 jaren geleden
bovenliggende
commit
b2dffcb3c0

+ 1 - 1
app/src/main/java/com/ivalentin/margolariak/GM.java

@@ -717,7 +717,7 @@ final class GM {
 		/**
 		 * URL of the server.
 		 */
-		static final String SERVER = "http://margolariak.com";
+		static final String SERVER = "https://margolariak.com";
 	}
 
 	/**

+ 2 - 0
app/src/main/java/com/ivalentin/margolariak/Sync.java

@@ -523,6 +523,7 @@ class Sync extends AsyncTask<Void, Void, Void> {
 			}
 
 			editor.apply();
+			Log.d("SYNC", "Settings saved.");
 			return true;
 		}
 		catch (Exception ex){
@@ -547,6 +548,7 @@ class Sync extends AsyncTask<Void, Void, Void> {
 
 		//If settings table, do something else
 		if ("settings".equals(table)){
+			Log.d("SYNC", "Got the settings table. Special treatment...");
 			return saveSettings(data);
 		}