needed by the new transaction activity which uses the mProfile value
(and its getApiVersion()) when saving the transaction. The API version
could have been changed by the "possible API version mismatch" dialog,
which may be used to open the profile editor
protected void onCreate(@Nullable Bundle savedInstanceState) {
initProfile();
setupProfileColors();
+ Data.observeProfile(this, profile -> {
+ mProfile = profile;
+ setupProfileColors();
+ });
+
super.onCreate(savedInstanceState);
}
protected void initProfile() {