pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.56k stars 137 forks source link

refactor: tweak tab index saving #77

Closed pd4d10 closed 4 years ago

pd4d10 commented 4 years ago
pd4d10 commented 4 years ago

move everything to auth.dart

Because we have to access the activeAccount.platform variable in auth model to save the tab index with corresponding.

It seems the provider lib has a ProxyProvider which could combine multiple providers, while we don't use it yet.