Commit 24e455a6 authored by Inomjon's avatar Inomjon

update chiqarish

parent 9d53927a
......@@ -29,9 +29,9 @@ const RESOURCES = {"assets/AssetManifest.bin": "573765cd775ea2b5a93f02fde1533e13
"icons/Icon-512.png": "3f113298f30f1c8dc1c1ee492b49dd34",
"icons/Icon-maskable-192.png": "8492e98f9e23d2757c184a797dd98562",
"icons/Icon-maskable-512.png": "3f113298f30f1c8dc1c1ee492b49dd34",
"index.html": "033fb0c5b412fc7e749a61949dca5180",
"/": "033fb0c5b412fc7e749a61949dca5180",
"main.dart.js": "49d2623546f17a26acd5efe92c9f19d1",
"index.html": "47c9147907605379cdf654fe6f08d7b7",
"/": "47c9147907605379cdf654fe6f08d7b7",
"main.dart.js": "cae789951c00a8ac26f5900eb686b831",
"manifest.json": "06a98e3db4ad33d77b572058d067487e",
"version.json": "78ebccf0708fa628ba423077e482533d"};
// The application shell files that are downloaded before a service worker can
......
......@@ -34,7 +34,7 @@
<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = "2703075677";
const serviceWorkerVersion = "2158460342";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
......
This diff is collapsed.
......@@ -2,13 +2,11 @@ import 'package:file_picker/file_picker.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:connectycube_sdk/connectycube_sdk.dart';
import 'package:vmeeting/service/routes/routes_name.dart';
import 'package:vmeeting/src/extension/context_extensions.dart';
import '../app_models/app_users_model/app_users_model.dart';
import '../src/constants/colors_const.dart';
import '../src/controllers/enter_number_cont.dart';
import '../src/utils/app_utils.dart';
import '../src/widgets/image_avatar.dart';
import '../src/widgets/textfiled_widgets/auth_text_fild.dart';
......@@ -16,7 +14,6 @@ import 'managers/push_notifications_manager.dart';
import 'utils/api_utils.dart';
import 'utils/consts.dart';
import 'utils/pref_util.dart';
import 'widgets/common.dart';
class SettingsScreen extends StatelessWidget {
final CubeUser currentUser;
......@@ -282,7 +279,27 @@ class _BodyLayoutState extends State<BodyLayout> {
_isUsersContinues = true;
});
updateUser(userToUpdate).then((user) {
// SharedPrefs.instance.updateUser(user);
AppUtils.cubeUser = user;
AppUtils.userModel = UserModel(
login: user.login ?? "",
sId: user.id.toString(),
phone: user.phone ?? "",
lastRequestAt: user.lastRequestAt?.toIso8601String() ?? "",
isGuest: user.isGuest.toString(),
facebookId: user.facebookId ?? "",
externalUserId: user.externalUserId ?? "",
externalId: user.externalId.toString(),
customData: user.customData ?? "",
createdAt: user.createdAt?.toIso8601String() ?? "",
avatar: user.avatar ?? "",
id: user.id,
email: user.email ?? "",
fullName: user.fullName ?? "",
timezone: user.timeZone.toString() ?? "",
twitterId: user.twitterId ?? "",
updatedAt: user.updatedAt?.toIso8601String() ?? "",
website: user.website.toString() ?? ""
);
Fluttertoast.showToast(msg: 'Success');
setState(() {
_isUsersContinues = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment