Fix wording of network request buttons

Summary: I don't know why we left this for so long, it doesn't make a good first impression.

Reviewed By: mweststrate

Differential Revision: D18348908

fbshipit-source-id: b8b0e5fe8f6ab81281d6ea1a1299ebdaaf0b9c43
This commit is contained in:
John Knox
2019-11-06 08:02:39 -08:00
committed by Facebook Github Bot
parent 81d7be2479
commit f0de600492

View File

@@ -36,14 +36,14 @@ public class RootComponentSpec {
return Column.create(c)
.child(
Text.create(c)
.text("Tap to hit get request")
.text("Send GET request")
.key("1")
.marginDip(YogaEdge.ALL, 10)
.textSizeSp(20)
.clickHandler(RootComponent.hitGetRequest(c)))
.child(
Text.create(c)
.text("Tap to hit post request")
.text("Send POST request")
.key("2")
.marginDip(YogaEdge.ALL, 10)
.textSizeSp(20)