feat: tela de apps com logos/menu de exclusao, correcao de tema nas mini apps e sidebar de navegacao
This commit is contained in:
@@ -77,11 +77,15 @@ class _MiniAppPageState extends State<MiniAppPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final themeColorScheme = Theme.of(context).colorScheme;
|
||||
if (_notFound) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: const Center(child: BackButton()),
|
||||
title: Text(widget.appId),
|
||||
backgroundColor: themeColorScheme.surface,
|
||||
surfaceTintColor: Colors.transparent,
|
||||
foregroundColor: themeColorScheme.onSurface,
|
||||
),
|
||||
body: const Center(child: Text('App not found')),
|
||||
);
|
||||
@@ -92,9 +96,10 @@ class _MiniAppPageState extends State<MiniAppPage> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: const Center(child: BackButton()),
|
||||
title: Text(
|
||||
_config?.name ?? _config?.id ?? widget.appId,
|
||||
),
|
||||
title: Text(_config?.name ?? _config?.id ?? widget.appId),
|
||||
backgroundColor: themeColorScheme.surface,
|
||||
surfaceTintColor: Colors.transparent,
|
||||
foregroundColor: themeColorScheme.onSurface,
|
||||
),
|
||||
body: const Center(
|
||||
child: CircularProgressIndicator.adaptive(strokeWidth: 2),
|
||||
|
||||
Reference in New Issue
Block a user