removed unused fonts (made the app way smaller)
This commit is contained in:
@@ -17,7 +17,7 @@ class ErrorReportScreen extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
backgroundColor: AppColors.of(context).background,
|
||||
body: SafeArea(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
@@ -66,7 +66,6 @@ class ErrorReportScreen extends StatelessWidget {
|
||||
color: AppColors.of(context).text,
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontFamily: 'Geist',
|
||||
fontStyle: FontStyle.normal,
|
||||
),
|
||||
),
|
||||
@@ -80,28 +79,17 @@ class ErrorReportScreen extends StatelessWidget {
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
color: Colors.white.withOpacity(
|
||||
Theme.of(context).brightness == Brightness.light
|
||||
? .35
|
||||
: .2),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.grey.withOpacity(0.2),
|
||||
spreadRadius: 5,
|
||||
blurRadius: 7,
|
||||
offset:
|
||||
const Offset(0, 3), // changes position of shadow
|
||||
),
|
||||
],
|
||||
color: AppColors.of(context).highlight,
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
child: Text(
|
||||
details.exceptionAsString(),
|
||||
style: const TextStyle(
|
||||
fontFamily: 'GeistMono',
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Color(0xFF011234)),
|
||||
style: TextStyle(
|
||||
fontFamily: 'GeistMono',
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColors.of(context).text.withOpacity(0.9),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -271,18 +259,19 @@ class ErrorDetail extends StatelessWidget {
|
||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
Container(
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 6.5, vertical: 4.0),
|
||||
margin: const EdgeInsets.only(top: 4.0),
|
||||
decoration: BoxDecoration(
|
||||
color: const Color.fromARGB(255, 218, 218, 218),
|
||||
borderRadius: BorderRadius.circular(4.0)),
|
||||
child: Text(
|
||||
content,
|
||||
style: const TextStyle(
|
||||
fontFamily: 'GeistMono',
|
||||
color: Color.fromARGB(255, 0, 0, 0)),
|
||||
))
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6.5, vertical: 4.0),
|
||||
margin: const EdgeInsets.only(top: 4.0),
|
||||
decoration: BoxDecoration(
|
||||
color: const Color.fromARGB(255, 218, 218, 218),
|
||||
borderRadius: BorderRadius.circular(4.0)),
|
||||
child: Text(
|
||||
content,
|
||||
style: const TextStyle(
|
||||
fontFamily: 'GeistMono',
|
||||
color: Color.fromARGB(255, 0, 0, 0),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -15,7 +15,7 @@ extension SettingsLocalization on String {
|
||||
"stack": "Stack Trace",
|
||||
"done": "Done",
|
||||
"smth_went_wrong":
|
||||
"Something went wrong, it is of course the fault of Educational Development Informatikai Zrt. (e-KRÉTA) in any case! (Joke, our fault of course)",
|
||||
"Something went wrong, it is of course the fault of Educational Development Informatikai Zrt. (e-KRÉTA) in any case! /s",
|
||||
},
|
||||
"hu_hu": {
|
||||
"ekretaYou": "e-KRÉTA, te",
|
||||
@@ -29,7 +29,7 @@ extension SettingsLocalization on String {
|
||||
"stack": "Stacktrace",
|
||||
"done": "Kész",
|
||||
"smth_went_wrong":
|
||||
"Valami probléma történt, ez természetesen az Educational Development Informatikai Zrt. (e-KRÉTA) hibája minden esetben! (Vicc, természetesen a mi hibánk)",
|
||||
"Valami probléma történt, ez természetesen az Educational Development Informatikai Zrt. (e-KRÉTA) hibája minden esetben! /s",
|
||||
},
|
||||
"de_de": {
|
||||
"ekretaYou": "e-KRÉTA, du",
|
||||
@@ -43,7 +43,7 @@ extension SettingsLocalization on String {
|
||||
"stack": "Stack Trace",
|
||||
"done": "Fertig",
|
||||
"smth_went_wrong":
|
||||
"Irgendetwas ist schief gelaufen, es ist natürlich auf jeden Fall die Schuld der Educational Development Informatikai Zrt. (e-KRÉTA)! (Scherz, natürlich unsere Schuld)",
|
||||
"Irgendetwas ist schief gelaufen, es ist natürlich auf jeden Fall die Schuld der Educational Development Informatikai Zrt. (e-KRÉTA)! /s",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user