diff --git a/lib/view/pages/power/power_page.dart b/lib/view/pages/power/power_page.dart index 59a7837e..4f2bd209 100644 --- a/lib/view/pages/power/power_page.dart +++ b/lib/view/pages/power/power_page.dart @@ -12,16 +12,13 @@ class PowerPage extends StatelessWidget { @override Widget build(BuildContext context) { - return SizedBox( - width: 500, // TODO: Could be enforced by SettingsSection? - child: Column( - children: [ - BatterySection.create(context), - PowerProfileSection.create(context), - PowerSettingsSection.create(context), - SuspendSection.create(context), - ], - ), + return Column( + children: [ + BatterySection.create(context), + PowerProfileSection.create(context), + PowerSettingsSection.create(context), + SuspendSection.create(context), + ], ); } } diff --git a/lib/view/pages/wallpaper/wallpaper_model.dart b/lib/view/pages/wallpaper/wallpaper_model.dart index 8a43135a..56903c40 100644 --- a/lib/view/pages/wallpaper/wallpaper_model.dart +++ b/lib/view/pages/wallpaper/wallpaper_model.dart @@ -11,8 +11,6 @@ class WallpaperModel extends SafeChangeNotifier { static const _pictureUriKey = 'picture-uri'; static const _preinstalledWallpapersDir = '/usr/share/backgrounds'; static const _colorShadingTypeKey = 'color-shading-type'; - static const _pictureOpacityKey = 'picture-opacity'; - static const _pictureOptionsKey = 'picture-options'; static const _primaryColorKey = 'primary-color'; static const _secondaryColorKey = 'secondary-color';