Another way would be request pin when opening the app and the possibility of setting up a duress pin (GrapheneOS inspiration) so if I type duress PIN all data is erased.
Altgought not sure if it would solve the same problem.
Features overview | GrapheneOS