Skip to content

Commit

Permalink
bump version to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukiKaffuChino committed Mar 4, 2024
1 parent d9df742 commit 78f118e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "github.daisukiKaffuChino.MomoQR"
minSdk 26
targetSdk 34
versionCode 240303
versionName "1.0.3"
versionCode 240305
versionName "1.0.4"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 240226,
"versionName": "1.0.2",
"versionCode": 240303,
"versionName": "1.0.3",
"outputFile": "app-release.apk"
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package github.daisukiKaffuChino.MomoQR;


import android.content.Context;
import android.content.SharedPreferences;
import android.hardware.camera2.CameraAccessException;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package github.daisukiKaffuChino.MomoQR.ui.fragment;

import androidx.fragment.app.DialogFragment;

public class AboutDialogFragment extends DialogFragment {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package github.daisukiKaffuChino.MomoQR.ui.dialog;
package github.daisukiKaffuChino.MomoQR.ui.fragment;

import android.annotation.SuppressLint;
import android.app.Dialog;
Expand All @@ -23,7 +23,7 @@
import github.daisukiKaffuChino.MomoQR.R;
import github.daisukiKaffuChino.MomoQR.logic.utils.MyUtil;

public class EditTextDialog extends DialogFragment {
public class EditTextDialogFragment extends DialogFragment {
public final static String MODE_INPUT_ONLY = "MODE_INPUT_ONLY";
public final static String MODE_INPUT_WITH_CHECKBOX = "MODE_INPUT_WITH_CHECKBOX";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import github.daisukiKaffuChino.MomoQR.databinding.FragmentHomeBinding;
import github.daisukiKaffuChino.MomoQR.logic.utils.MyUtil;
import github.daisukiKaffuChino.MomoQR.logic.utils.QRCodeUtil;
import github.daisukiKaffuChino.MomoQR.ui.dialog.EditTextDialog;

public class HomeFragment extends BaseBindingFragment<FragmentHomeBinding> {
//private HomeViewModel viewModel;
Expand Down Expand Up @@ -56,7 +55,7 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
});
binding.makeQRCodeBtn.setOnClickListener(v -> {
Bundle bundle = new Bundle();
bundle.putString("mode", EditTextDialog.MODE_INPUT_ONLY);
bundle.putString("mode", EditTextDialogFragment.MODE_INPUT_ONLY);
getNavController().navigate(R.id.nav_edt_dialog, bundle);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import github.daisukiKaffuChino.MomoQR.databinding.FragmentResultBinding;
import github.daisukiKaffuChino.MomoQR.logic.utils.MyUtil;
import github.daisukiKaffuChino.MomoQR.logic.utils.QRCodeUtil;
import github.daisukiKaffuChino.MomoQR.ui.dialog.EditTextDialog;
import github.daisukiKaffuChino.MomoQR.ui.model.ResultViewModel;

public class ResultFragment extends BaseBindingFragment<FragmentResultBinding> {
Expand All @@ -60,7 +59,7 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
MyUtil.copyContent(Objects.requireNonNull(binding.resultText.getText()).toString()));
binding.addFavBtn.setOnClickListener(v -> {
Bundle bundle = new Bundle();
bundle.putString("mode", EditTextDialog.MODE_INPUT_WITH_CHECKBOX);
bundle.putString("mode", EditTextDialogFragment.MODE_INPUT_WITH_CHECKBOX);
bundle.putString("content",viewModel.contentLiveData.getValue());
bundle.putString("imgPath",myUtil.saveImageViewImage(binding.remakeCodeImg));
getNavController().navigate(R.id.nav_edt_dialog, bundle);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@

<dialog
android:id="@+id/nav_edt_dialog"
android:name="github.daisukiKaffuChino.MomoQR.ui.dialog.EditTextDialog"/>
android:name="github.daisukiKaffuChino.MomoQR.ui.fragment.EditTextDialogFragment"/>

</navigation>

0 comments on commit 78f118e

Please sign in to comment.