texte par défaut
This commit is contained in:
@@ -7,6 +7,7 @@ import 'package:flutter_gemini/flutter_gemini.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import "ItemMenu.dart";
|
||||
import 'UpdateEventImage.dart';
|
||||
|
||||
import 'dart:convert';
|
||||
|
||||
@@ -85,7 +86,10 @@ class DisplayPictureScreenState extends State<DisplayPictureScreen>
|
||||
var events = jsonDecode(utf8.decode(responseGet.bodyBytes));
|
||||
print("reponse http : ${events.length}");
|
||||
if (events.length == 0) {
|
||||
showDescImageAddDialog(context, jsonData);
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (_) => UpdateeventImage(events: jsonData)));
|
||||
} else {
|
||||
Navigator.push(
|
||||
context,
|
||||
|
Reference in New Issue
Block a user