feat: adiciona menu Desenvolvedor as configuracoes, nova modal Sobre e icones da marca TatuChat
- 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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user