From 268cf2649c22643f5b8d0256c06f6f89f8686571 Mon Sep 17 00:00:00 2001 From: Willian <47341070+wjrcode@users.noreply.github.com> Date: Tue, 18 Oct 2022 09:44:39 -0300 Subject: [PATCH] projeto --- lib/Model/API/APIModel.dart | 3 ++- lib/components/dialogs/projetos/projetoCadastroDialog.dart | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Model/API/APIModel.dart b/lib/Model/API/APIModel.dart index 9aaacba..0958137 100644 --- a/lib/Model/API/APIModel.dart +++ b/lib/Model/API/APIModel.dart @@ -1,7 +1,8 @@ import 'package:shared_preferences/shared_preferences.dart'; class ApiModel { - String ApiUrl = "http://192.168.100.74:4444"; + //String ApiUrl = "http://192.168.100.74:4444"; + String ApiUrl = "http://10.0.0.91:4444"; Future> getHeaders() async { SharedPreferences prefs = await SharedPreferences.getInstance(); diff --git a/lib/components/dialogs/projetos/projetoCadastroDialog.dart b/lib/components/dialogs/projetos/projetoCadastroDialog.dart index f6e5362..8d276fb 100644 --- a/lib/components/dialogs/projetos/projetoCadastroDialog.dart +++ b/lib/components/dialogs/projetos/projetoCadastroDialog.dart @@ -102,7 +102,7 @@ Future criarProjeto( atividades![index]!.cor ?? '0xFF6385C3') ?? 0), - nome: atividades[index]!.nome ?? 'a', + nome: atividades[index]!.nome ?? '', horario: '', abrirDialog: () { return visualizarAtividade(