Remove Hose
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import '../services/authentication_manager.dart';
|
||||
import 'hose_view.dart';
|
||||
|
||||
class MoreView extends StatelessWidget {
|
||||
const MoreView({super.key});
|
||||
@@ -16,8 +15,6 @@ class MoreView extends StatelessWidget {
|
||||
),
|
||||
body: ListView(
|
||||
children: [
|
||||
_buildFeaturesSection(context),
|
||||
const Divider(height: 1),
|
||||
_buildAppInfoSection(context),
|
||||
const Divider(height: 1),
|
||||
_buildLogoutSection(context, authManager),
|
||||
@@ -26,46 +23,6 @@ class MoreView extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildFeaturesSection(BuildContext context) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'Features',
|
||||
style: Theme.of(context).textTheme.titleLarge?.copyWith(
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Card(
|
||||
child: ListTile(
|
||||
leading: CircleAvatar(
|
||||
backgroundColor: Theme.of(context).colorScheme.primaryContainer,
|
||||
child: Icon(
|
||||
Icons.water_drop,
|
||||
color: Theme.of(context).colorScheme.onPrimaryContainer,
|
||||
),
|
||||
),
|
||||
title: const Text('Hose'),
|
||||
subtitle: const Text('Live talkgroup activity monitor'),
|
||||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const HoseView(),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildAppInfoSection(BuildContext context) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.all(16),
|
||||
|
||||
Reference in New Issue
Block a user