Skip to content

Commit

Permalink
padding is very wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQuan committed Jan 6, 2022
1 parent 45629ce commit cb8f13d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 5 additions & 9 deletions project/lib/ui/page/EpisodePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,8 @@ class _EpisodePageState extends State<EpisodePage>
Expanded(
child: ListTile(
title: Text('Server List', textAlign: TextAlign.center),
subtitle: Center(
child: Column(
children: renderServerList(),
),
subtitle: Column(
children: renderServerList(),
),
),
),
Expand All @@ -228,10 +226,8 @@ class _EpisodePageState extends State<EpisodePage>
'Watch Directly',
textAlign: TextAlign.center,
),
subtitle: Center(
child: Column(
children: renderMP4List(),
),
subtitle: Column(
children: renderMP4List(),
),
),
),
Expand Down Expand Up @@ -363,7 +359,7 @@ class _EpisodePageState extends State<EpisodePage>
showDialog(
context: context,
barrierDismissible: false,
builder: (ctx) => AlertDialog(
builder: (context) => AlertDialog(
title: Text("AnimeGo is paused"),
content: Text(
"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.",
Expand Down
2 changes: 0 additions & 2 deletions project/lib/ui/page/tablet/TabletAnimePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ class _TabletAnimePageState extends State<TabletAnimePage> {
body: Row(
children: [
Flexible(
flex: 1,
child: _renderAnimeDetail(),
),
Flexible(
flex: 1,
// need to send data back here
child: _renderEpisode(),
),
Expand Down

0 comments on commit cb8f13d

Please sign in to comment.