Hiba ablak szövegének megváltoztatása. (2)

This commit is contained in:
balint1414 2024-06-14 10:56:15 +02:00
parent e1870b08e5
commit cad7bd19dc
2 changed files with 22 additions and 22 deletions

View File

@ -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,

View File

@ -51,4 +51,4 @@ extension SettingsLocalization on String {
String fill(List<Object> params) => localizeFill(this, params); String fill(List<Object> params) => localizeFill(this, params);
String plural(int value) => localizePlural(value, this, _t); String plural(int value) => localizePlural(value, this, _t);
String version(Object modifier) => localizeVersion(modifier, this, _t); String version(Object modifier) => localizeVersion(modifier, this, _t);
} }