mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: check fav attr
This commit is contained in:
@@ -28,6 +28,10 @@ import '../models/github/latest.dart';
|
||||
class Utils {
|
||||
static final Random random = Random();
|
||||
|
||||
static bool isPublic(int attr) {
|
||||
return (attr & 1) == 0;
|
||||
}
|
||||
|
||||
static Future actionRelationMod({
|
||||
required BuildContext context,
|
||||
required dynamic mid,
|
||||
|
||||
Reference in New Issue
Block a user