updt
This commit is contained in:
parent
8062ee5f88
commit
f6eea601b7
@ -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
|
||||
}
|
||||
|
@ -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(
|
||||
|
@ -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')
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user