feat: adiciona menu Desenvolvedor as configuracoes, nova modal Sobre e icones da marca TatuChat
Some checks failed
Main Deploy Workflow / deploy_web (push) Has been cancelled
Main Deploy Workflow / deploy_playstore_internal (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled

- Submenu Desenvolvedor em Configuracoes (Sobre o servidor, Registros, Variaveis e ambiente)
- Modal Sobre maior com logo, descricao com link e rodape (codigo-fonte, licenca, fechar)
- Descricao legivel no tema dark
- Drawer com a logo do projeto e links de support/formulario atualizados
- flutter_launcher_icons: regenera icones Android (mipmap + adaptive), Web, iOS, macOS, Windows
This commit is contained in:
2026-09-20 18:16:35 -03:00
parent 6c689d1f34
commit 762178d9f9
55 changed files with 221 additions and 191 deletions

View File

@@ -12,7 +12,6 @@ import 'package:tatchat/l10n/l10n.dart';
import 'package:tatchat/utils/tatu_share.dart';
import 'package:tatchat/widgets/avatar.dart';
import 'package:tatchat/widgets/matrix.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'chat_list.dart';
@@ -109,16 +108,6 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
PopupMenuItem(
value: SettingsAction.support,
child: Row(
children: [
Icon(Icons.favorite, color: Colors.red),
const SizedBox(width: 18),
Text(L10n.of(context).supportFluffyChat),
],
),
),
const PopupMenuDivider(),
..._bundleEntries(context, matrix, bundles),
PopupMenuItem(
@@ -249,11 +238,6 @@ class ClientChooserButton extends StatelessWidget {
case SettingsAction.invite:
TatuShare.shareInviteLink(context);
break;
case SettingsAction.support:
launchUrlString(
'https://ko-fi.com/post/How-can-I-support-FluffyChat-J2G325WE6I',
);
break;
case SettingsAction.settings:
context.go('/rooms/settings');
break;
@@ -271,13 +255,4 @@ class ClientChooserButton extends StatelessWidget {
}
}
enum SettingsAction {
addAccount,
newGroup,
setStatus,
invite,
support,
settings,
archive,
apps,
}
enum SettingsAction { addAccount, newGroup, setStatus, invite, settings, archive, apps }

View File

@@ -11,7 +11,6 @@ import 'package:tatchat/l10n/l10n.dart';
import 'package:tatchat/utils/tatu_share.dart';
import 'package:tatchat/widgets/avatar.dart';
import 'package:tatchat/widgets/matrix.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'chat_list.dart';
@@ -41,10 +40,10 @@ class Sidebar extends StatelessWidget {
),
child: Row(
children: [
Icon(
Icons.chat_bubble_outline,
size: 22,
color: theme.colorScheme.primary,
Image.asset(
'./assets/logo/mini/logo_mini.png',
width: 28,
height: 28,
),
const SizedBox(width: 10),
Text(
@@ -115,14 +114,6 @@ class _AccountSection extends StatelessWidget {
label: L10n.of(context).settings,
onTap: () => context.go('/rooms/settings'),
),
_ActionTile(
icon: Icons.favorite,
iconColor: Colors.red,
label: L10n.of(context).supportFluffyChat,
onTap: () => launchUrlString(
'https://ko-fi.com/post/How-can-I-support-FluffyChat-J2G325WE6I',
),
),
const Divider(),
for (final bundle in bundles.keys) ...[
if (bundles[bundle]!.length != 1 ||