use raw email value as a placeholder
parent
2f6164635f
commit
02c5079e31
|
@ -316,7 +316,10 @@ func _main() error {
|
||||||
if len(signups) == 0 {
|
if len(signups) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
providedEmailView.SetText(signups[signupIx].Email)
|
emailVal := signups[signupIx].Email
|
||||||
|
providedEmailView.SetText(emailVal)
|
||||||
|
cleanEmailInput.SetPlaceholder(
|
||||||
|
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
||||||
decisionFI.SetCurrentOption(0)
|
decisionFI.SetCurrentOption(0)
|
||||||
pages.SwitchToPage("review")
|
pages.SwitchToPage("review")
|
||||||
app.SetFocus(cleanEmailInput)
|
app.SetFocus(cleanEmailInput)
|
||||||
|
@ -325,7 +328,10 @@ func _main() error {
|
||||||
if len(signups) == 0 {
|
if len(signups) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
providedEmailView.SetText(signups[signupIx].Email)
|
emailVal := signups[signupIx].Email
|
||||||
|
providedEmailView.SetText(emailVal)
|
||||||
|
cleanEmailInput.SetPlaceholder(
|
||||||
|
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
||||||
decisionFI.SetCurrentOption(1)
|
decisionFI.SetCurrentOption(1)
|
||||||
pages.SwitchToPage("review")
|
pages.SwitchToPage("review")
|
||||||
app.SetFocus(cleanEmailInput)
|
app.SetFocus(cleanEmailInput)
|
||||||
|
|
Loading…
Reference in New Issue