response key removed

This commit is contained in:
A1pha 2024-12-07 13:04:46 +03:00
parent 2971b29a7c
commit 8125f02c91
3 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,5 @@
package ru.myitschool.work.core
// БЕРИТЕ И ИЗМЕНЯЙТЕ ХОСТ ТОЛЬКО ЗДЕСЬ И НЕ БЕРИТЕ ИЗ ДРУГИХ МЕСТ. ФАЙЛ ПЕРЕМЕЩАТЬ НЕЛЬЗЯ
object Constants {
const val SERVER_ADDRESS = "http://192.168.1.2:8080"
const val RESPONSE_KEY = "RESPONSE_KEY"
const val SERVER_ADDRESS = "http://192.168.1.6:8080"
}

View File

@ -1,6 +1,6 @@
package ru.myitschool.work.ui.profile;
import static ru.myitschool.work.core.Constants.RESPONSE_KEY;
import static ru.myitschool.work.ui.qr.result.QrResultFragment.RESPONSE_KEY;
import android.os.Bundle;
import android.util.Log;

View File

@ -1,7 +1,5 @@
package ru.myitschool.work.ui.qr.result;
import static ru.myitschool.work.core.Constants.RESPONSE_KEY;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
@ -21,6 +19,7 @@ import ru.myitschool.work.utils.Utils;
public class QrResultFragment extends Fragment {
public static final String RESPONSE_KEY = "response_qr";
private FragmentQrResultBinding binding;
private String resultQr;
private QrResultViewModel viewModel;