fix: change back to login button and add to register option screen (#4847)

* fix: change back to login button and add to register option screen

* fix: change back to login button and add logic for remove and set events

Co-authored-by: Fabi <[email protected]>
This commit is contained in:
Stefan Benz
2022-12-20 09:26:48 +01:00
committed by GitHub
co-authored by Fabi
parent 5d61ed5cac
commit 339fbd4f0c
14 changed files with 75 additions and 5 deletions
+4
View File
@@ -761,6 +761,10 @@ func (c *Commands) createRegistrationOptionEvents(ctx context.Context, agg *even
if event != nil {
events = append(events, event)
}
event = c.createCustomLoginTextEvent(ctx, agg, domain.LoginKeyRegistrationOptionLoginButtonText, existingText.RegistrationOptionLoginButtonText, text.RegisterOption.LoginButtonText, text.Language, defaultText)
if event != nil {
events = append(events, event)
}
return events
}