Publisher personal & organization management

This commit is contained in:
2024-12-01 14:33:47 +08:00
parent fc025c6bd3
commit 000caf4dd2
4 changed files with 334 additions and 12 deletions

View File

@ -267,11 +267,14 @@ class _AccountPublisherEditScreenState
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextButton.icon(
onPressed: _syncWithAccount,
label: Text('publisherSyncWithAccount').tr(),
icon: const Icon(Symbols.sync),
),
if (_publisher?.type == 0)
TextButton.icon(
onPressed: _syncWithAccount,
label: Text('publisherSyncWithAccount').tr(),
icon: const Icon(Symbols.sync),
)
else
const SizedBox(),
ElevatedButton.icon(
onPressed: _isBusy ? null : _performAction,
label: Text('apply').tr(),