remove temp bio
This commit is contained in:
@@ -70,8 +70,8 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||||||
Future<void> submitForm() async {
|
Future<void> submitForm() async {
|
||||||
// print("============\nsubmiit form\n=================");
|
// print("============\nsubmiit form\n=================");
|
||||||
if (widget.arguments.signedInUser.username != usernameController.text) {
|
if (widget.arguments.signedInUser.username != usernameController.text) {
|
||||||
bool isUsernameUnique =
|
bool isUsernameUnique = await MihUserServices.isUsernameUnique(
|
||||||
await MihUserServices.isUsernameUnique(usernameController.text, context);
|
usernameController.text, context);
|
||||||
print("isUsernameUnique: $isUsernameUnique");
|
print("isUsernameUnique: $isUsernameUnique");
|
||||||
if (isUsernameUnique == false) {
|
if (isUsernameUnique == false) {
|
||||||
notUniqueAlert();
|
notUniqueAlert();
|
||||||
@@ -438,31 +438,32 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10.0),
|
// const SizedBox(height: 10.0),
|
||||||
Center(
|
// Center(
|
||||||
child: Text(
|
// child: Text(
|
||||||
"*DEMO TEXT* This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself",
|
// "*DEMO TEXT* This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself and let. This would be the bio of the user telling us a bit about themself",
|
||||||
textAlign: TextAlign.center,
|
// textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
// style: TextStyle(
|
||||||
fontSize: 15,
|
// fontSize: 15,
|
||||||
fontWeight: FontWeight.bold,
|
// fontWeight: FontWeight.bold,
|
||||||
color: MzanziInnovationHub.of(context)!
|
// color: MzanziInnovationHub.of(context)!
|
||||||
.theme
|
// .theme
|
||||||
.secondaryColor(),
|
// .secondaryColor(),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: 30.0),
|
const SizedBox(height: 30.0),
|
||||||
Center(
|
Center(
|
||||||
child: MihButton(
|
child: MihButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
// Connect with the user
|
// Connect with the user
|
||||||
|
editProfileWindow(width);
|
||||||
},
|
},
|
||||||
buttonColor:
|
buttonColor:
|
||||||
MzanziInnovationHub.of(context)!.theme.successColor(),
|
MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Connect",
|
"Edit Profile",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: MzanziInnovationHub.of(context)!
|
color: MzanziInnovationHub.of(context)!
|
||||||
.theme
|
.theme
|
||||||
|
|||||||
Reference in New Issue
Block a user