✨ Show automated account in pfc
This commit is contained in:
@@ -943,5 +943,6 @@
|
|||||||
"pin": "Pin",
|
"pin": "Pin",
|
||||||
"unpinPostHint": "Are you sure you want to unpin this post?",
|
"unpinPostHint": "Are you sure you want to unpin this post?",
|
||||||
"all": "All",
|
"all": "All",
|
||||||
"statusPresent": "Present"
|
"statusPresent": "Present",
|
||||||
|
"accountAutomated": "Automated"
|
||||||
}
|
}
|
||||||
|
@@ -856,5 +856,6 @@
|
|||||||
"copySecretHint": "请复制此密钥并将其存放在安全的地方。您将无法再次看到它。",
|
"copySecretHint": "请复制此密钥并将其存放在安全的地方。您将无法再次看到它。",
|
||||||
"expiresIn": "过期时间(秒)",
|
"expiresIn": "过期时间(秒)",
|
||||||
"isOidc": "OIDC 兼容",
|
"isOidc": "OIDC 兼容",
|
||||||
"statusPresent": "至今"
|
"statusPresent": "至今",
|
||||||
|
"accountAutomated": "机器人"
|
||||||
}
|
}
|
||||||
|
@@ -98,6 +98,18 @@ class AccountProfileCard extends HookConsumerWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (data.automatedId != null)
|
||||||
|
Row(
|
||||||
|
spacing: 6,
|
||||||
|
children: [
|
||||||
|
Icon(
|
||||||
|
Symbols.smart_toy,
|
||||||
|
size: 17,
|
||||||
|
fill: 1,
|
||||||
|
).padding(right: 2),
|
||||||
|
Text('accountAutomated').tr(),
|
||||||
|
],
|
||||||
|
),
|
||||||
if (data.profile.timeZone.isNotEmpty && !kIsWeb)
|
if (data.profile.timeZone.isNotEmpty && !kIsWeb)
|
||||||
Row(
|
Row(
|
||||||
spacing: 6,
|
spacing: 6,
|
||||||
|
Reference in New Issue
Block a user