Skip to content

Commit

Permalink
Enable homework due date chips for stable track (#1556)
Browse files Browse the repository at this point in the history
Just enable `showDueDateSelectionChips`. We later remove the unused
code.
  • Loading branch information
nilsreichardt authored Apr 24, 2024
1 parent 340e089 commit 7bf0a82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/lib/homework/homework_dialog/homework_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import 'package:common_domain_models/common_domain_models.dart';
import 'package:date/date.dart';
import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:firebase_hausaufgabenheft_logik/firebase_hausaufgabenheft_logik.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart' as bloc_lib show BlocProvider;
Expand All @@ -32,7 +31,6 @@ import 'package:sharezone/filesharing/dialog/course_tile.dart';
import 'package:sharezone/holidays/holiday_bloc.dart';
import 'package:sharezone/homework/homework_dialog/homework_dialog_bloc.dart';
import 'package:sharezone/main/application_bloc.dart';
import 'package:sharezone/main/constants.dart';
import 'package:sharezone/markdown/markdown_analytics.dart';
import 'package:sharezone/sharezone_plus/page/sharezone_plus_page.dart';
import 'package:sharezone/sharezone_plus/subscription_service/subscription_service.dart';
Expand All @@ -48,9 +46,7 @@ class HomeworkDialog extends StatefulWidget {
required this.id,
this.homeworkDialogApi,
this.nextLessonCalculator,
this.showDueDateSelectionChips = kDebugMode ||
kDevelopmentStage == 'ALPHA' ||
kDevelopmentStage == 'BETA',
this.showDueDateSelectionChips = true,
});

static const tag = "homework-dialog";
Expand Down

0 comments on commit 7bf0a82

Please sign in to comment.