fixed db installation
This commit is contained in:
@@ -1,15 +1,23 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:jovial_svg/jovial_svg.dart';
|
||||
|
||||
|
||||
class ServiceLogo extends StatelessWidget {
|
||||
final double size;
|
||||
|
||||
const ServiceLogo({ super.key, this.size = 48 });
|
||||
const ServiceLogo({ super.key, this.size = 64 });
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => SizedBox(
|
||||
height: size,
|
||||
width: size,
|
||||
child: Image.asset('resources/logo.png'),
|
||||
child: ScalableImageWidget.fromSISource(
|
||||
key: const Key('mxLogo'),
|
||||
si: ScalableImageSource.fromSI(
|
||||
DefaultAssetBundle.of(context),
|
||||
'resources/logo.si',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:pweb/services/amplitude.dart';
|
||||
|
||||
// import 'package:pweb/services/amplitude.dart';
|
||||
import 'package:pweb/widgets/sidebar/destinations.dart';
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class SideMenuColumn extends StatelessWidget {
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
onSelected(item);
|
||||
AmplitudeService.pageOpened(item, uiSource: 'sidebar');
|
||||
// AmplitudeService.pageOpened(item, uiSource: 'sidebar');
|
||||
},
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
hoverColor: theme.colorScheme.primaryContainer,
|
||||
|
||||
Reference in New Issue
Block a user