Setting firstTime to false after user chose storage source
This commit is contained in:
parent
0c359c6867
commit
3e685fc233
2 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/color_transparent"
|
||||
tools:context="net.osmand.plus.download.ui.DataStoragePlaceDialogFragment">
|
||||
|
||||
<ImageView
|
||||
|
|
|
@ -140,6 +140,7 @@ public class DataStoragePlaceDialogFragment extends DialogFragment {
|
|||
public void onClick(View v) {
|
||||
saveFilesLocation(OsmandSettings.EXTERNAL_STORAGE_TYPE_DEFAULT,
|
||||
internalStorage, getActivity());
|
||||
getMyApplication().getAppInitializer().setFirstTime(false);
|
||||
dismiss();
|
||||
}
|
||||
};
|
||||
|
@ -150,6 +151,7 @@ public class DataStoragePlaceDialogFragment extends DialogFragment {
|
|||
public void onClick(View v) {
|
||||
saveFilesLocation(OsmandSettings.EXTERNAL_STORAGE_TYPE_EXTERNAL_FILE,
|
||||
externalStorage, getActivity());
|
||||
getMyApplication().getAppInitializer().setFirstTime(false);
|
||||
dismiss();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue