This commit is contained in:
s452641 2021-11-21 15:50:39 +01:00
parent 8062ee5f88
commit f6eea601b7
3 changed files with 0 additions and 12 deletions

View File

@ -34,10 +34,6 @@ class ChangePass : Fragment(){
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val sharedPreference =
requireActivity().getSharedPreferences("sharedPref", Context.MODE_PRIVATE)
val savedString = sharedPreference.getString("STRING_KEY", null)
Toast.makeText(requireActivity(),savedString,Toast.LENGTH_SHORT).show()
}
override fun onCreateView(
@ -49,7 +45,6 @@ class ChangePass : Fragment(){
inflater, R.layout.fragment_change_pass, container, false
)
binding.change = this@ChangePass
return binding.root
}

View File

@ -31,11 +31,6 @@ class LoginPage : Fragment(){
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val sharedPreference =
requireActivity().getSharedPreferences("sharedPref", Context.MODE_PRIVATE)
val savedString = sharedPreference.getString("STRING_KEY", null)
Toast.makeText(requireActivity(),savedString,Toast.LENGTH_SHORT).show()
}
override fun onCreateView(

View File

@ -40,7 +40,6 @@ class SetPass : Fragment() {
inflater, R.layout.fragment_set_pass, container, false
)
binding.setpass = this@SetPass
return binding.root
}
@ -75,5 +74,4 @@ class SetPass : Fragment() {
return BigInteger(1, md.digest(input.toByteArray())).toString(16).padStart(32, '0')
}
}