package kr.co.compcareworker.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;

import androidx.appcompat.app.AppCompatActivity;

import kr.co.compcareworker.MyApplication;
import kr.co.compcareworker.R;

public class ErrorActivity extends AppCompatActivity {

    EditText error;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_error);
        MyApplication.myActivity = this;
        Intent intent = getIntent();

        error = findViewById(R.id.error);
        error.setText(intent.getStringExtra("error"));
    }
}
