Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-21 17:53:46 +08:00
parent c1d42b498a
commit 919134759b
2 changed files with 4 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ class _LoginPageState extends State<LoginPage> {
Padding( Padding(
padding: const EdgeInsets.symmetric(horizontal: 20), padding: const EdgeInsets.symmetric(horizontal: 20),
child: Text( child: Text(
'请务必在 PiliPlus 开源仓库等可信渠道下载安装。', '请务必在 ${Constants.appName} 开源仓库等可信渠道下载安装。',
style: theme.textTheme.labelSmall!.copyWith( style: theme.textTheme.labelSmall!.copyWith(
color: theme.colorScheme.onSurface.withValues(alpha: 0.4), color: theme.colorScheme.onSurface.withValues(alpha: 0.4),
), ),
@@ -343,7 +343,7 @@ class _LoginPageState extends State<LoginPage> {
'根据 bilibili 官方登录接口规范,密码将在本地加盐、加密后传输。\n' '根据 bilibili 官方登录接口规范,密码将在本地加盐、加密后传输。\n'
'盐与公钥均由官方提供;以 RSA/ECB/PKCS1Padding 方式加密。\n' '盐与公钥均由官方提供;以 RSA/ECB/PKCS1Padding 方式加密。\n'
'账号密码仅用于该登录接口,不予保存;本地仅存储登录凭证。\n' '账号密码仅用于该登录接口,不予保存;本地仅存储登录凭证。\n'
'请务必在 PiliPlus 开源仓库等可信渠道下载安装。', '请务必在 ${Constants.appName} 开源仓库等可信渠道下载安装。',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: theme.textTheme.labelSmall!.copyWith( style: theme.textTheme.labelSmall!.copyWith(
color: theme.colorScheme.onSurface.withValues(alpha: 0.4), color: theme.colorScheme.onSurface.withValues(alpha: 0.4),
@@ -499,7 +499,7 @@ class _LoginPageState extends State<LoginPage> {
child: Text( child: Text(
'手机号仅用于 bilibili 官方发送验证码与登录接口,不予保存;\n' '手机号仅用于 bilibili 官方发送验证码与登录接口,不予保存;\n'
'本地仅存储登录凭证。\n' '本地仅存储登录凭证。\n'
'请务必在 PiliPlus 开源仓库等可信渠道下载安装。', '请务必在 ${Constants.appName} 开源仓库等可信渠道下载安装。',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: theme.textTheme.labelSmall!.copyWith( style: theme.textTheme.labelSmall!.copyWith(
color: theme.colorScheme.onSurface.withValues(alpha: 0.4), color: theme.colorScheme.onSurface.withValues(alpha: 0.4),

View File

@@ -166,7 +166,7 @@ abstract class Utils {
static void reportError( static void reportError(
Object exception, [ Object exception, [
StackTrace? stack, StackTrace? stack,
String? library = 'PiliPlus', String? library = Constants.appName,
bool silent = false, bool silent = false,
]) { ]) {
FlutterError.reportError( FlutterError.reportError(