kinda finished new goal planner
This commit is contained in:
parent
a45c5b11a7
commit
5da93e4575
@ -143,6 +143,7 @@ class PremiumAuth {
|
||||
if (kDebugMode) {
|
||||
print(FilcAPI.plusActivation);
|
||||
print(_settings.plusSessionId);
|
||||
print(_settings.xFilcId);
|
||||
}
|
||||
|
||||
final res = await http.post(Uri.parse(FilcAPI.plusActivation), body: {
|
||||
|
@ -16,13 +16,12 @@ import 'package:refilc_mobile_ui/common/round_border_icon.dart';
|
||||
import 'package:refilc_plus/providers/goal_provider.dart';
|
||||
import 'package:refilc_plus/ui/mobile/goal_planner/goal_planner.dart';
|
||||
import 'package:refilc_plus/ui/mobile/goal_planner/goal_state_screen.i18n.dart';
|
||||
import 'package:refilc_plus/ui/mobile/goal_planner/goal_track_popup.dart';
|
||||
import 'package:refilc_plus/ui/mobile/goal_planner/route_option.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import 'goal_planner_screen.dart';
|
||||
import 'graph.dart';
|
||||
|
||||
class GoalStateScreen extends StatefulWidget {
|
||||
@ -333,11 +332,13 @@ class _GoalStateScreenState extends State<GoalStateScreen> {
|
||||
),
|
||||
RawMaterialButton(
|
||||
onPressed: () async {
|
||||
Navigator.of(context).push(
|
||||
CupertinoPageRoute(
|
||||
builder: (context) =>
|
||||
GoalPlannerScreen(
|
||||
subject: widget.subject)));
|
||||
GoalTrackPopup.show(context,
|
||||
subject: widget.subject);
|
||||
// Navigator.of(context).push(
|
||||
// CupertinoPageRoute(
|
||||
// builder: (context) =>
|
||||
// GoalPlannerScreen(
|
||||
// subject: widget.subject)));
|
||||
},
|
||||
fillColor: Colors.black,
|
||||
shape: const StadiumBorder(),
|
||||
|
@ -3,7 +3,6 @@ import 'package:provider/provider.dart';
|
||||
import 'package:refilc/api/providers/database_provider.dart';
|
||||
import 'package:refilc/api/providers/user_provider.dart';
|
||||
import 'package:refilc/helpers/average_helper.dart';
|
||||
import 'package:refilc/ui/widgets/grade/grade_tile.dart';
|
||||
import 'package:refilc_kreta_api/models/grade.dart';
|
||||
import 'package:refilc_kreta_api/models/subject.dart';
|
||||
import 'package:refilc_kreta_api/providers/grade_provider.dart';
|
||||
@ -27,6 +26,7 @@ class GoalTrackPopup extends StatefulWidget {
|
||||
context,
|
||||
child: GoalTrackPopup(subject: subject),
|
||||
showHandle: true,
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
);
|
||||
|
||||
@override
|
||||
|
Loading…
x
Reference in New Issue
Block a user