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 #197

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Pity Tracker #197

wants to merge 2 commits into from

Conversation

Quintasan
Copy link
Contributor

Closes #43

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.

If MiHoYo introduces another banner at some point then it's going to be easy to extend this.

@Quintasan
Copy link
Contributor Author

@Wolfteam I'd appreciate any feedback at any point since I'm trying to understand Dart + Flutter + Android magic at the same time.

@Wolfteam
Copy link
Owner

@Wolfteam I'd appreciate any feedback at any point since I'm trying to understand Dart + Flutter + Android magic at the same time.

I would say that before writing any business logic, you start working on the ui first

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.

2 participants