[#327] Fix backup screen crash

This was a minor regression, as the string formatter was using %d for a number while the calculateBirthday method was returning a BlockHeight object
This commit is contained in:
Carter Jernigan 2022-07-29 09:11:47 -04:00 committed by GitHub
parent acd0012919
commit fe73e9cc4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class BackupFragment : BaseFragment<FragmentBackupBinding>() {
override fun onResume() {
super.onResume()
resumedScope.launch {
binding.textBirtdate.text = getString(R.string.backup_format_birthday_height, calculateBirthday())
binding.textBirtdate.text = getString(R.string.backup_format_birthday_height, calculateBirthday().value)
}
}