@@ -32,7 +32,7 @@
<span class="network-switch">
<ion-icon name="logo-twitter"></ion-icon>
- <ion-toggle checked="false"></ion-toggle>
+ <ion-toggle checked="false" formControlName="p2p"></ion-toggle>
<ion-icon name="glasses"></ion-icon>
</span>
@@ -26,7 +26,8 @@ export class WriteTweetPage {
private twitter: TwitterApiProvider
) {
this.tweet = this.formBuilder.group({
- text: ['', Validators.maxLength(140)]
+ text: ['', Validators.maxLength(140)],
+ p2p: [false]
});
}