[mob] Include mobile flag during ott (#6906)
## Description Need this to identify which OTT template to send from backend. Ref: https://github.com/ente-io/ente/pull/5654 ## Tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'dart:async';
|
||||
import "dart:convert";
|
||||
import "dart:io";
|
||||
import "dart:math";
|
||||
|
||||
import 'package:bip39/bip39.dart' as bip39;
|
||||
@@ -102,6 +103,7 @@ class UserService {
|
||||
data: {
|
||||
"email": email,
|
||||
"purpose": isChangeEmail ? "change" : purpose ?? "",
|
||||
"mobile": Platform.isIOS || Platform.isAndroid,
|
||||
},
|
||||
);
|
||||
await dialog.hide();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import 'dart:async';
|
||||
import "dart:convert";
|
||||
import "dart:io";
|
||||
import "dart:math";
|
||||
|
||||
import 'package:bip39/bip39.dart' as bip39;
|
||||
@@ -88,6 +89,7 @@ class UserService {
|
||||
data: {
|
||||
"email": email,
|
||||
"purpose": isChangeEmail ? "change" : purpose ?? "",
|
||||
"mobile": Platform.isIOS || Platform.isAndroid,
|
||||
},
|
||||
);
|
||||
await dialog.hide();
|
||||
|
||||
Reference in New Issue
Block a user