Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pity Tracker #196

Closed
wants to merge 1 commit into from
Closed

Pity Tracker #196

wants to merge 1 commit into from

Conversation

Quintasan
Copy link
Contributor

@Quintasan Quintasan commented Feb 19, 2023

This is an attempt to implement a pity tracker as requested in #43

@Quintasan
Copy link
Contributor Author

Quintasan commented Feb 19, 2023

@Wolfteam I think this is the correct approach since I don't want to put stuff into other data services since I don't think that pity tracking is a concern of those.

Another problem is that I'm getting Error when reading 'test/secrets.dart': No such file or directory. Not sure how to fix that.

import 'package:shiori/domain/services/persistence/pity_counter_data_service.dart';

class PityCounterDataServiceImpl implements PityCounterDataService {
late Box<int> _pityCounterBox;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea here is to store a separate counter for standardBanner, limitedBanner1 and limitedBanner2 and weaponsBanner

@Quintasan Quintasan changed the base branch from main to develop February 19, 2023 20:13
@Quintasan Quintasan closed this by deleting the head repository Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant