Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-22 10:58:05 +08:00
parent c5f5c00d37
commit a61a394048
11 changed files with 222 additions and 165 deletions

View File

@@ -29,6 +29,10 @@ class Utils {
return (attr & 2) == 0;
}
static String isPublicText(int attr) {
return isPublic(attr) ? '公开' : '私密';
}
static bool isPublic(int attr) {
return (attr & 1) == 0;
}