From 4f7f0152509ac2eca71608a67a6d04135dbeb646 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 20 Feb 2025 20:41:41 +0800 Subject: [PATCH] :arrow_up: I forgot what did I did last night --- api/Paperclip/Stickers/Create Sticker.bru | 8 ++++---- api/Passport/Developer Notify One User.bru | 8 ++++---- assets/translations/en-US.json | 1 + assets/translations/zh-CN.json | 1 + lib/main.dart | 2 +- lib/screens/realm/realm_discovery.dart | 2 ++ 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/api/Paperclip/Stickers/Create Sticker.bru b/api/Paperclip/Stickers/Create Sticker.bru index 98b91b8..c4c11cb 100644 --- a/api/Paperclip/Stickers/Create Sticker.bru +++ b/api/Paperclip/Stickers/Create Sticker.bru @@ -12,9 +12,9 @@ post { body:json { { - "alias": "BaLoading", - "name": "BaLoading", - "attachment_id": "2JCI2uh21mKkfk9P", - "pack_id": 3 + "alias": "Deadge", + "name": "Dead", + "attachment_id": "pcbFd0u4zgdM39HM", + "pack_id": 4 } } diff --git a/api/Passport/Developer Notify One User.bru b/api/Passport/Developer Notify One User.bru index bbd3125..57ca846 100644 --- a/api/Passport/Developer Notify One User.bru +++ b/api/Passport/Developer Notify One User.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{endpoint}}/cgi/id/dev/notify/122 + url: {{endpoint}}/cgi/id/dev/notify/328 body: json auth: inherit } @@ -15,9 +15,9 @@ body:json { "client_id": "{{third_client_id}}", "client_secret":"{{third_client_tk}}", "type": "general", - "subject": "处理该帐号 @solian 的决定", - "subtitle": "违反用户协议", - "content": "您的帐号违反了我们用户协议中关于冒充我们官方的行为,至此做出停权的决定。还请见谅。该决定是最终决定,不接受上诉。", + "subject": "处理该发布者 @vedal987 的决定", + "subtitle": "一条来自 Solar Network 客户支持的信息", + "content": "您的发布者违反了我们用户协议中的「禁止冒充他人」的相关条例,经管理决定,将相关内容隐藏。冒充他人的判定无论作者是否有主观意志,只要造成了误解我们就有责任处理。希望您能理解,本次决定未作出任何帐号相关的连带处罚。", "priority": 10 } } diff --git a/assets/translations/en-US.json b/assets/translations/en-US.json index cfde366..a6f9463 100644 --- a/assets/translations/en-US.json +++ b/assets/translations/en-US.json @@ -548,6 +548,7 @@ "termAcceptNextWithAgree": "By clicking the \"Next\", it means you agree to our terms and its updates.", "unauthorized": "Unauthorized", "unauthorizedDescription": "Login to explore the entire Solar Network.", + "projectDetail": "Project Details", "serviceStatus": "Service Status", "termRelated": "Related Terms", "appDetails": "App Details", diff --git a/assets/translations/zh-CN.json b/assets/translations/zh-CN.json index 191c13b..74acb59 100644 --- a/assets/translations/zh-CN.json +++ b/assets/translations/zh-CN.json @@ -546,6 +546,7 @@ "termAcceptNextWithAgree": "点击 “下一步”,即表示你同意我们的各项条款,包括其之后的更新。", "unauthorized": "未登陆", "unauthorizedDescription": "登陆以探索整个 Solar Network。", + "projectDetail": "项目详情", "serviceStatus": "服务状态", "termRelated": "相关条款", "appDetails": "应用程序详情", diff --git a/lib/main.dart b/lib/main.dart index 525784b..a3f0396 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -87,7 +87,7 @@ void main() async { Hive.registerAdapter(SnChannelMemberImplAdapter()); Hive.registerAdapter(SnChatMessageImplAdapter()); - if (kIsWeb && !Platform.isLinux) { + if (!kIsWeb && !Platform.isLinux) { await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); diff --git a/lib/screens/realm/realm_discovery.dart b/lib/screens/realm/realm_discovery.dart index 56e57fb..5e22d85 100644 --- a/lib/screens/realm/realm_discovery.dart +++ b/lib/screens/realm/realm_discovery.dart @@ -235,6 +235,8 @@ class _RealmJoinPopupState extends State<_RealmJoinPopup> { ), Text( widget.realm.description, + maxLines: 3, + overflow: TextOverflow.ellipsis, style: Theme.of(context).textTheme.bodyMedium, ), ],