Compare commits
3 Commits
dc0de05f3b
...
4b281aae77
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b281aae77 | |||
| e3a97a024f | |||
| 2a6e4f00ca |
|
|
@ -32,7 +32,7 @@ class LearnLessonView extends StackedView<LearnLessonViewModel> {
|
|||
await _showSheet(context: context, viewModel: viewModel);
|
||||
}*/
|
||||
if (index > 1) {
|
||||
if (viewModel.user?.subscriptionStatus?.toLowerCase() == 'subscribed') {
|
||||
if (viewModel.user?.subscriptionStatus?.toLowerCase() == 'active') {
|
||||
if (lesson.access?.isAccessible ?? false) {
|
||||
await viewModel.navigateToLearnPractice(lesson.id ?? 0);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class LearnLessonDetailView extends StackedView<LearnLessonDetailViewModel> {
|
|||
await viewModel.navigateToLearnPractice(lesson.id ?? 0);
|
||||
*/
|
||||
if (index > 1) {
|
||||
if (viewModel.user?.subscriptionStatus?.toLowerCase() == 'subscribed') {
|
||||
if (viewModel.user?.subscriptionStatus?.toLowerCase() == 'active') {
|
||||
await viewModel.pause();
|
||||
await viewModel.navigateToLearnPractice(lesson.id ?? 0);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import 'package:yimaru_app/services/status_checker_service.dart';
|
|||
import 'package:yimaru_app/ui/common/enmus.dart';
|
||||
|
||||
import '../../../app/app.locator.dart';
|
||||
import '../../../models/progress_summary.dart';
|
||||
|
||||
class ProgressViewModel extends ReactiveViewModel {
|
||||
// Dependency injection
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: yimaru_app
|
||||
version: 0.1.32+34
|
||||
publish_to: 'none'
|
||||
version: 0.1.33+35
|
||||
description: A new Flutter project.
|
||||
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user