Skip to content

Commit cb8f13d

Browse files
committed
padding is very wrong
1 parent 45629ce commit cb8f13d

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

Diff for: project/lib/ui/page/EpisodePage.dart

+5-9
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,8 @@ class _EpisodePageState extends State<EpisodePage>
215215
Expanded(
216216
child: ListTile(
217217
title: Text('Server List', textAlign: TextAlign.center),
218-
subtitle: Center(
219-
child: Column(
220-
children: renderServerList(),
221-
),
218+
subtitle: Column(
219+
children: renderServerList(),
222220
),
223221
),
224222
),
@@ -228,10 +226,8 @@ class _EpisodePageState extends State<EpisodePage>
228226
'Watch Directly',
229227
textAlign: TextAlign.center,
230228
),
231-
subtitle: Center(
232-
child: Column(
233-
children: renderMP4List(),
234-
),
229+
subtitle: Column(
230+
children: renderMP4List(),
235231
),
236232
),
237233
),
@@ -363,7 +359,7 @@ class _EpisodePageState extends State<EpisodePage>
363359
showDialog(
364360
context: context,
365361
barrierDismissible: false,
366-
builder: (ctx) => AlertDialog(
362+
builder: (context) => AlertDialog(
367363
title: Text("AnimeGo is paused"),
368364
content: Text(
369365
"Please close the program after you finish watching.\nMake sure it is closed not minimised or running in the background. \nOn macOS, you can use ⌘Q to quit the app.",

Diff for: project/lib/ui/page/tablet/TabletAnimePage.dart

-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,9 @@ class _TabletAnimePageState extends State<TabletAnimePage> {
4343
body: Row(
4444
children: [
4545
Flexible(
46-
flex: 1,
4746
child: _renderAnimeDetail(),
4847
),
4948
Flexible(
50-
flex: 1,
5149
// need to send data back here
5250
child: _renderEpisode(),
5351
),

0 commit comments

Comments
 (0)