File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,22 @@ class LoadingPage extends StatelessWidget {
30
30
builder: (context, state) {
31
31
switch (state) {
32
32
case LoadingError ():
33
- return Card (
34
- child: Container (
35
- padding: const EdgeInsets .all (20.0 ),
36
- child: MarkdownBody (
37
- data: state.errorMsg,
38
- onTapLink: (text, href, title) {
39
- if (href == null ) {
40
- log.e ('Broken link: $href ' );
41
- return ;
42
- }
33
+ return Padding (
34
+ padding: const EdgeInsets .all (16.0 ),
35
+ child: Card (
36
+ child: Container (
37
+ padding: const EdgeInsets .all (20.0 ),
38
+ child: MarkdownBody (
39
+ data: state.errorMsg,
40
+ onTapLink: (text, href, title) {
41
+ if (href == null ) {
42
+ log.e ('Broken link: $href ' );
43
+ return ;
44
+ }
43
45
44
- AppCubit .instance.launchURL (href);
45
- },
46
+ AppCubit .instance.launchURL (href);
47
+ },
48
+ ),
46
49
),
47
50
),
48
51
);
You can’t perform that action at this time.
0 commit comments