Skip to content

Commit

Permalink
fix: clean code. add padding for timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jerichoi224 committed Oct 25, 2023
1 parent f14eefd commit a16be9d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/components/album_widget.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import 'package:flutter/material.dart';
import 'package:nothing_gallery/constants/album_widget_menu.dart';

import 'package:nothing_gallery/style.dart';
import 'package:nothing_gallery/components/components.dart';
import 'package:nothing_gallery/model/model.dart';
import 'package:nothing_gallery/util/util.dart';
import 'package:provider/provider.dart';
import 'package:nothing_gallery/constants/constants.dart';

class AlbumWidget extends StatelessWidget {
const AlbumWidget({super.key, required this.albumInfo, required this.numCol});
Expand Down
1 change: 0 additions & 1 deletion lib/components/selection_menu.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:nothing_gallery/components/dialog_bottom_button.dart';
import 'package:photo_manager/photo_manager.dart';
import 'package:provider/provider.dart';

Expand Down
1 change: 1 addition & 0 deletions lib/constants/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export 'selected_image_menu.dart';
export 'shared_pref_keys.dart';
export 'settings_pref.dart';
export 'albums_page_enum.dart';
export 'album_widget_menu.dart';
2 changes: 1 addition & 1 deletion lib/pages/pictures_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class _PicturesState extends LifecycleListenerState<PicturesWidget>
imageSelection,
Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Padding(
padding: const EdgeInsets.fromLTRB(20, 20, 20, 0),
padding: const EdgeInsets.fromLTRB(20, 20, 20, 10),
child: Row(
children: [
Text(
Expand Down
17 changes: 8 additions & 9 deletions lib/pages/settings_page.dart
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import 'package:flutter/material.dart';
import 'package:nothing_gallery/classes/classes.dart';
import 'package:nothing_gallery/components/dialog_bottom_button.dart';
import 'package:nothing_gallery/model/album_info_list.dart';
import 'package:nothing_gallery/model/app_status.dart';
import 'package:nothing_gallery/util/util.dart';
import 'package:package_info_plus/package_info_plus.dart';

import 'package:nothing_gallery/constants/constants.dart';
import 'package:nothing_gallery/main.dart';
import 'package:nothing_gallery/style.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart';

import 'package:nothing_gallery/style.dart';
import 'package:nothing_gallery/main.dart';
import 'package:nothing_gallery/components/components.dart';
import 'package:nothing_gallery/constants/constants.dart';
import 'package:nothing_gallery/classes/classes.dart';
import 'package:nothing_gallery/util/util.dart';
import 'package:nothing_gallery/model/model.dart';

class SettingsPage extends StatefulWidget {
const SettingsPage({super.key});

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.5.0+1
version: 0.5.1+1

environment:
sdk: '>=2.19.3 <3.0.0'
Expand Down

0 comments on commit a16be9d

Please # to comment.