Перевёл настройки
This commit is contained in:
parent
374196699a
commit
1eccf30c10
1 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ class _SettingsPanelState extends State<SettingsPanel> {
|
|||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const Text("Current user access token:")
|
||||
const Text("Ключ доступа пользователя:")
|
||||
.textStyle(Get.textTheme.bodySmall!),
|
||||
[
|
||||
Text(ApiController.to.token)
|
||||
|
|
@ -37,8 +37,8 @@ class _SettingsPanelState extends State<SettingsPanel> {
|
|||
ClipboardData(text: ApiController.to.token),
|
||||
);
|
||||
Get.snackbar(
|
||||
"Copied",
|
||||
"Token copied to clipboard",
|
||||
"Скопировано",
|
||||
"Ключ скопирован в буфер обмена",
|
||||
snackPosition: SnackPosition.BOTTOM,
|
||||
);
|
||||
},
|
||||
|
|
@ -50,21 +50,21 @@ class _SettingsPanelState extends State<SettingsPanel> {
|
|||
TextFormField(
|
||||
enabled: false,
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Endpoint',
|
||||
hintText: 'Enter Tuuli Endpoint',
|
||||
labelText: 'Адрес бэкенда',
|
||||
hintText: 'Введите адрес бэкенда',
|
||||
),
|
||||
initialValue: ApiController.to.endPoint,
|
||||
).expanded(),
|
||||
ElevatedButton(
|
||||
onPressed: () => Get.find<HomePageController>().logout(),
|
||||
child: const Text("Logout to change"),
|
||||
child: const Text("Выйти и изменить"),
|
||||
)
|
||||
].toRow(),
|
||||
const SizedBox(height: 16),
|
||||
[
|
||||
ElevatedButton(
|
||||
onPressed: () => Get.bottomSheet(const LogPrintPanel()),
|
||||
child: const Text("Show app logs"),
|
||||
child: const Text("Показать лог приложения"),
|
||||
).expanded(),
|
||||
].toRow(),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue