bug fix internet check
This commit is contained in:
parent
69cab6b60b
commit
1a0ae636f7
@ -601,7 +601,11 @@ class _ChartScreen1State extends ConsumerState<ChartScreen1> {
|
||||
padding: EdgeInsets.only(right: 10),
|
||||
child: Text(
|
||||
'3/7',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
),
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
),
|
||||
@ -769,7 +773,11 @@ class _ChartScreen1State extends ConsumerState<ChartScreen1> {
|
||||
padding: EdgeInsets.only(right: 10),
|
||||
child: Text(
|
||||
'4/7',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
),
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
),
|
||||
@ -943,7 +951,11 @@ class _ChartScreen1State extends ConsumerState<ChartScreen1> {
|
||||
padding: const EdgeInsets.only(right: 10.0),
|
||||
child: Text(
|
||||
'4/7',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
),
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
),
|
||||
@ -1107,7 +1119,11 @@ class _ChartScreen1State extends ConsumerState<ChartScreen1> {
|
||||
padding: const EdgeInsets.only(right: 10.0),
|
||||
child: Text(
|
||||
'3/7',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
),
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
),
|
||||
|
||||
@ -44,11 +44,20 @@ class InternetCheckScreen extends ConsumerWidget {
|
||||
Image.asset('assets/logos/no-internet.png', width: 150),
|
||||
SizedBox(height: myHeight / 40),
|
||||
Text(context.translate('No Internet Connection','لا يوجد اتصال بالإنترنت'),
|
||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),),
|
||||
style: TextStyle(fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
), fontSize: 25, fontWeight: FontWeight.bold),),
|
||||
Text(context.translate('Please check your Wi-Fi or Mobile Data','يرجى التحقق من شبكة Wi-Fi أو بيانات الهاتف المحمول'),
|
||||
style: TextStyle(fontSize: 15, fontWeight: FontWeight.w500),),
|
||||
style: TextStyle(fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
), fontSize: 15, fontWeight: FontWeight.w500),),
|
||||
Text(context.translate('connection and try again','واتصالك ثم حاول مرة أخرى'),
|
||||
style: TextStyle(fontSize: 15, fontWeight: FontWeight.w500),),
|
||||
style: TextStyle(fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
), fontSize: 15, fontWeight: FontWeight.w500),),
|
||||
SizedBox(height: myHeight / 40),
|
||||
ElevatedButton(
|
||||
onPressed: () async {
|
||||
@ -90,7 +99,10 @@ class InternetCheckScreen extends ConsumerWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text( context.translate('Retry','إعادة المحاولة'),
|
||||
style: TextStyle(fontSize: 16, color: Colors.white),),
|
||||
style: TextStyle(fontFamily: context.translate(
|
||||
'Roboto',
|
||||
'NotoKufi',
|
||||
), fontSize: 16, color: Colors.white),),
|
||||
SizedBox(width: 8),
|
||||
Icon(Icons.refresh, size: 16, color: Colors.white),
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user