mirror of
https://github.com/russok/FitoTrack.git
synced 2025-10-28 16:22:12 -07:00
Don't reset firstStart-Dialog on import
This commit is contained in:
parent
eae7bfb9d9
commit
7d2e3a063d
@ -26,7 +26,6 @@ import android.preference.PreferenceManager;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
|
||||
import com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -92,6 +91,7 @@ public class Exporter {
|
||||
.edit().clear()
|
||||
.putInt("weight", container.settings.weight)
|
||||
.putString("unitSystem", container.settings.preferredUnitSystem)
|
||||
.putBoolean("firstStart", false)
|
||||
.commit();
|
||||
|
||||
AppDatabase database= Instance.getInstance(context).db;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user