Hiba ablak szövegének megváltoztatása. (2)
This commit is contained in:
parent
e1870b08e5
commit
cad7bd19dc
@ -37,27 +37,27 @@ class ErrorReportScreen extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
//FutureBuilder<String>(
|
FutureBuilder<String>(
|
||||||
// future: dirtyString(),
|
future: dirtyString(),
|
||||||
// builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
// if (snapshot.connectionState == ConnectionState.waiting) {
|
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||||
// return const CircularProgressIndicator();
|
return const CircularProgressIndicator();
|
||||||
// }
|
}
|
||||||
// if (snapshot.hasError) {
|
if (snapshot.hasError) {
|
||||||
// return Text("Error: ${snapshot.error}");
|
return Text("Error: ${snapshot.error}");
|
||||||
// }
|
}
|
||||||
// return Text(
|
return Text(
|
||||||
// snapshot.data ?? "",
|
snapshot.data ?? "",
|
||||||
// textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
// style: TextStyle(
|
style: TextStyle(
|
||||||
// color: AppColors.of(context).text,
|
color: AppColors.of(context).text,
|
||||||
// fontSize: 24.0,
|
fontSize: 24.0,
|
||||||
// fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
// fontStyle: FontStyle.italic,
|
fontStyle: FontStyle.italic,
|
||||||
// ),
|
),
|
||||||
// );
|
);
|
||||||
// },
|
},
|
||||||
//),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Text(
|
Text(
|
||||||
"smth_went_wrong".i18n,
|
"smth_went_wrong".i18n,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user