cleanup
This commit is contained in:
@@ -21,7 +21,6 @@ class _CheckboxWithLabelState extends State<CheckboxWithLabel> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
// TODO: implement initState
|
||||
super.initState();
|
||||
isChecked = widget.state;
|
||||
}
|
||||
|
||||
@@ -429,7 +429,7 @@ class _AddMovieScreenState extends State<AddMovieScreen> {
|
||||
);
|
||||
|
||||
try {
|
||||
final r = await http.post(
|
||||
/*final r = */await http.post(
|
||||
url,
|
||||
headers: <String, String>{
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
|
||||
@@ -313,7 +313,7 @@ class MovieDetailsScreen extends StatelessWidget {
|
||||
);
|
||||
|
||||
try {
|
||||
final r = await http.post(
|
||||
/*final r =*/ await http.post(
|
||||
url,
|
||||
headers: <String, String>{
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
|
||||
@@ -374,7 +374,7 @@ class _MoviesScreenState extends State<MoviesScreen> {
|
||||
void addMovieFinished() {}
|
||||
|
||||
void addMovie() {
|
||||
final m = Navigator.push(
|
||||
/*final m =*/ Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (ctx) =>
|
||||
|
||||
@@ -357,7 +357,7 @@ class TVShowDetailsScreen extends StatelessWidget {
|
||||
var seasonState = jsonEncode(tvShowDetails.seasonStatus.map((e) => e.toJson()).toList());
|
||||
|
||||
try {
|
||||
final r = await http.post(
|
||||
/*final r =*/ await http.post(
|
||||
url,
|
||||
headers: <String, String>{
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
|
||||
Reference in New Issue
Block a user