mirror of
https://github.com/ente-io/ente.git
synced 2025-07-26 11:29:13 +00:00
[mob] Move manage device storage under free up section
This commit is contained in:
parent
d2335d7491
commit
de6caf9958
@ -14,7 +14,6 @@ import 'package:photos/ui/components/title_bar_title_widget.dart';
|
|||||||
import 'package:photos/ui/components/title_bar_widget.dart';
|
import 'package:photos/ui/components/title_bar_widget.dart';
|
||||||
import "package:photos/ui/components/toggle_switch_widget.dart";
|
import "package:photos/ui/components/toggle_switch_widget.dart";
|
||||||
import "package:photos/ui/settings/ml/machine_learning_settings_page.dart";
|
import "package:photos/ui/settings/ml/machine_learning_settings_page.dart";
|
||||||
import 'package:photos/ui/tools/debug/app_storage_viewer.dart';
|
|
||||||
import 'package:photos/ui/viewer/gallery/photo_grid_size_picker_page.dart';
|
import 'package:photos/ui/viewer/gallery/photo_grid_size_picker_page.dart';
|
||||||
import 'package:photos/utils/navigation_util.dart';
|
import 'package:photos/utils/navigation_util.dart';
|
||||||
|
|
||||||
@ -124,25 +123,6 @@ class _AdvancedSettingsScreenState extends State<AdvancedSettingsScreen> {
|
|||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 24,
|
height: 24,
|
||||||
),
|
),
|
||||||
MenuItemWidget(
|
|
||||||
captionedTextWidget: CaptionedTextWidget(
|
|
||||||
title: S.of(context).manageDeviceStorage,
|
|
||||||
),
|
|
||||||
menuItemColor: colorScheme.fillFaint,
|
|
||||||
trailingWidget: Icon(
|
|
||||||
Icons.chevron_right_outlined,
|
|
||||||
color: colorScheme.strokeBase,
|
|
||||||
),
|
|
||||||
singleBorderRadius: 8,
|
|
||||||
alignCaptionedTextToLeft: true,
|
|
||||||
onTap: () async {
|
|
||||||
// ignore: unawaited_futures
|
|
||||||
routeToPage(context, const AppStorageViewer());
|
|
||||||
},
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
height: 24,
|
|
||||||
),
|
|
||||||
MenuItemWidget(
|
MenuItemWidget(
|
||||||
captionedTextWidget: CaptionedTextWidget(
|
captionedTextWidget: CaptionedTextWidget(
|
||||||
title: S.of(context).showMemories,
|
title: S.of(context).showMemories,
|
||||||
|
@ -18,6 +18,7 @@ import "package:photos/ui/components/menu_section_description_widget.dart";
|
|||||||
import "package:photos/ui/components/models/button_type.dart";
|
import "package:photos/ui/components/models/button_type.dart";
|
||||||
import 'package:photos/ui/components/title_bar_title_widget.dart';
|
import 'package:photos/ui/components/title_bar_title_widget.dart';
|
||||||
import 'package:photos/ui/components/title_bar_widget.dart';
|
import 'package:photos/ui/components/title_bar_widget.dart';
|
||||||
|
import "package:photos/ui/tools/debug/app_storage_viewer.dart";
|
||||||
import "package:photos/ui/tools/deduplicate_page.dart";
|
import "package:photos/ui/tools/deduplicate_page.dart";
|
||||||
import "package:photos/ui/tools/free_space_page.dart";
|
import "package:photos/ui/tools/free_space_page.dart";
|
||||||
import "package:photos/ui/viewer/gallery/large_files_page.dart";
|
import "package:photos/ui/viewer/gallery/large_files_page.dart";
|
||||||
@ -208,6 +209,28 @@ class _FreeUpSpaceOptionsScreenState extends State<FreeUpSpaceOptionsScreen> {
|
|||||||
MenuSectionDescriptionWidget(
|
MenuSectionDescriptionWidget(
|
||||||
content: S.of(context).viewLargeFilesDesc,
|
content: S.of(context).viewLargeFilesDesc,
|
||||||
),
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 24,
|
||||||
|
),
|
||||||
|
MenuItemWidget(
|
||||||
|
captionedTextWidget: CaptionedTextWidget(
|
||||||
|
title: S.of(context).manageDeviceStorage,
|
||||||
|
),
|
||||||
|
menuItemColor: colorScheme.fillFaint,
|
||||||
|
trailingWidget: Icon(
|
||||||
|
Icons.chevron_right_outlined,
|
||||||
|
color: colorScheme.strokeBase,
|
||||||
|
),
|
||||||
|
singleBorderRadius: 8,
|
||||||
|
alignCaptionedTextToLeft: true,
|
||||||
|
onTap: () async {
|
||||||
|
// ignore: unawaited_futures
|
||||||
|
routeToPage(
|
||||||
|
context,
|
||||||
|
const AppStorageViewer(),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user