add signer support whem replying

This commit is contained in:
greenart7c3 2023-08-16 14:34:11 -03:00
parent 66b1e4b15d
commit b8e97525eb

View File

@ -580,12 +580,16 @@ fun ReplyReaction(
if (accountViewModel.isWriteable()) {
onPress()
} else {
scope.launch {
Toast.makeText(
context,
context.getString(R.string.login_with_a_private_key_to_be_able_to_reply),
Toast.LENGTH_SHORT
).show()
if (PackageUtils.isAmberInstalled(context)) {
onPress()
} else {
scope.launch {
Toast.makeText(
context,
context.getString(R.string.login_with_a_private_key_to_be_able_to_reply),
Toast.LENGTH_SHORT
).show()
}
}
}
}