Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-06 14:14:19 +08:00
parent 1a8c348af1
commit 07843a5e77
239 changed files with 3175 additions and 13237 deletions

View File

@@ -1,5 +1,3 @@
import 'package:PiliPlus/utils/storage_pref.dart';
enum MemberTabType {
def('默认'),
home('主页'),
@@ -11,12 +9,7 @@ enum MemberTabType {
shop('小店'),
;
static bool showMemberShop = Pref.showMemberShop;
static bool contains(String type) {
if (type == shop.name && !showMemberShop) {
return false;
}
for (final e in MemberTabType.values) {
if (e.name == type) {
return true;