mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 16:00:41 +00:00
moved theme tiles to separate folders
This commit is contained in:
parent
53c938bb44
commit
fbc3804768
4 changed files with 6 additions and 26 deletions
|
@ -1,20 +0,0 @@
|
||||||
import 'package:flutter/material.dart';
|
|
||||||
import 'package:lightmeter/data/models/dynamic_colors_state.dart';
|
|
||||||
import 'package:provider/provider.dart';
|
|
||||||
|
|
||||||
import 'components/widget_list_tile_dynamic_colors.dart';
|
|
||||||
import 'components/widget_list_tile_theme_type.dart';
|
|
||||||
|
|
||||||
class ThemeSettings extends StatelessWidget {
|
|
||||||
const ThemeSettings({super.key});
|
|
||||||
|
|
||||||
@override
|
|
||||||
Widget build(BuildContext context) {
|
|
||||||
return Column(
|
|
||||||
children: [
|
|
||||||
const ThemeTypeListTile(),
|
|
||||||
const DynamicColorsListTile(),
|
|
||||||
],
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -6,8 +6,8 @@ import 'components/haptics/provider_list_tile_haptics.dart';
|
||||||
import 'components/report_issue/widget_list_tile_report_issue.dart';
|
import 'components/report_issue/widget_list_tile_report_issue.dart';
|
||||||
import 'components/shared/settings_section/widget_settings_section.dart';
|
import 'components/shared/settings_section/widget_settings_section.dart';
|
||||||
import 'components/source_code/widget_list_tile_source_code.dart';
|
import 'components/source_code/widget_list_tile_source_code.dart';
|
||||||
import 'components/theme/components/widget_list_tile_dynamic_colors.dart';
|
import 'components/dynamic_colors/widget_list_tile_dynamic_colors.dart';
|
||||||
import 'components/theme/components/widget_list_tile_theme_type.dart';
|
import 'components/theme_type/widget_list_tile_theme_type.dart';
|
||||||
import 'components/version/widget_list_tile_version.dart';
|
import 'components/version/widget_list_tile_version.dart';
|
||||||
import 'components/widget_list_tile_fractional_stops.dart';
|
import 'components/widget_list_tile_fractional_stops.dart';
|
||||||
|
|
||||||
|
@ -45,14 +45,14 @@ class SettingsScreen extends StatelessWidget {
|
||||||
<SettingsSection>[
|
<SettingsSection>[
|
||||||
SettingsSection(
|
SettingsSection(
|
||||||
title: S.of(context).metering,
|
title: S.of(context).metering,
|
||||||
children: [
|
children: const [
|
||||||
const StopTypeListTile(),
|
StopTypeListTile(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SettingsSection(
|
SettingsSection(
|
||||||
title: S.of(context).general,
|
title: S.of(context).general,
|
||||||
children: [
|
children: const [
|
||||||
const HapticsListTileProvider(),
|
HapticsListTileProvider(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SettingsSection(
|
SettingsSection(
|
||||||
|
|
Loading…
Reference in a new issue