diff --git a/lib/controller/player_controller.dart b/lib/controller/player_controller.dart index 2cf6d35a..23cae3b5 100644 --- a/lib/controller/player_controller.dart +++ b/lib/controller/player_controller.dart @@ -261,7 +261,7 @@ class Player { insertionType?.shuffleOrSortYT(finalVideos); if (showSnackBar && finalVideos.isEmpty) { - snackyy(title: lang.NOTE, message: emptyTracksMessage ?? lang.NO_TRACKS_FOUND); + snackyy(title: lang.NOTE, message: emptyTracksMessage ?? lang.NO_TRACKS_FOUND, top: false); return false; } await _audioHandler.addToQueue( @@ -274,6 +274,7 @@ class Player { snackyy( icon: shouldInsertNext ? Broken.redo : Broken.add_circle, message: '${addins.capitalizeFirst} ${finalVideos.length.displayVideoKeyword}', + top: false, ); } return true; diff --git a/lib/ui/pages/folders_page.dart b/lib/ui/pages/folders_page.dart index e97f98dc..9b67023b 100644 --- a/lib/ui/pages/folders_page.dart +++ b/lib/ui/pages/folders_page.dart @@ -55,7 +55,8 @@ class FoldersPage extends StatelessWidget { title: Folders.inst.currentFolder.value?.path.formatPath() ?? lang.HOME, titleStyle: context.textTheme.displaySmall, onTap: () => Folders.inst.stepOut(), - trailing: Row( + trailingRaw: Row( + mainAxisSize: MainAxisSize.min, children: [ Obx( () { diff --git a/lib/ui/widgets/custom_widgets.dart b/lib/ui/widgets/custom_widgets.dart index 37c71576..5546e47f 100644 --- a/lib/ui/widgets/custom_widgets.dart +++ b/lib/ui/widgets/custom_widgets.dart @@ -229,6 +229,7 @@ class CustomListTile extends StatelessWidget { final String title; final String? subtitle; final Widget? trailing; + final Widget? trailingRaw; final String? trailingText; final IconData? icon; final Widget? leading; @@ -237,7 +238,6 @@ class CustomListTile extends StatelessWidget { final bool enabled; final bool largeTitle; final int maxSubtitleLines; - final Widget? trailingRaw; final VisualDensity? visualDensity; final TextStyle? titleStyle; final double borderR; @@ -248,16 +248,16 @@ class CustomListTile extends StatelessWidget { required this.title, this.subtitle, this.trailing, + this.trailingRaw, + this.trailingText, this.onTap, this.leading, this.icon, this.passedColor, this.rotateIcon, - this.trailingText, this.enabled = true, this.largeTitle = false, this.maxSubtitleLines = 8, - this.trailingRaw, this.visualDensity, this.titleStyle, this.borderR = 20.0, diff --git a/lib/ui/widgets/settings/playback_settings.dart b/lib/ui/widgets/settings/playback_settings.dart index 1b16ba8a..cbd3fc4d 100644 --- a/lib/ui/widgets/settings/playback_settings.dart +++ b/lib/ui/widgets/settings/playback_settings.dart @@ -617,6 +617,7 @@ class PlaybackSettings extends SettingSubpageProvider { }, ), const NamidaContainerDivider(margin: EdgeInsets.symmetric(horizontal: 16.0)), + const SizedBox(height: 6.0), Obx( () { final valInSet = settings.interruptionResumeThresholdMin.value; diff --git a/lib/ui/widgets/video_widget.dart b/lib/ui/widgets/video_widget.dart index 67d7f4de..512a5ad2 100644 --- a/lib/ui/widgets/video_widget.dart +++ b/lib/ui/widgets/video_widget.dart @@ -313,16 +313,17 @@ class NamidaVideoControlsState extends State with TickerPro }; const color = Color.fromRGBO(222, 222, 222, 0.8); const strokeWidth = 1.8; - const strokeColor = Color.fromRGBO(20, 20, 20, 1); + const strokeColor = Color.fromRGBO(20, 20, 20, 0.8); + const shadowBR = 5.0; const outlineShadow = [ // bottomLeft - Shadow(offset: Offset(-strokeWidth, -strokeWidth), color: strokeColor, blurRadius: 4.0), + Shadow(offset: Offset(-strokeWidth, -strokeWidth), color: strokeColor, blurRadius: shadowBR), // bottomRight - Shadow(offset: Offset(strokeWidth, -strokeWidth), color: strokeColor, blurRadius: 4.0), + Shadow(offset: Offset(strokeWidth, -strokeWidth), color: strokeColor, blurRadius: shadowBR), // topRight - Shadow(offset: Offset(strokeWidth, strokeWidth), color: strokeColor, blurRadius: 4.0), + Shadow(offset: Offset(strokeWidth, strokeWidth), color: strokeColor, blurRadius: shadowBR), // topLeft - Shadow(offset: Offset(-strokeWidth, strokeWidth), color: strokeColor, blurRadius: 4.0), + Shadow(offset: Offset(-strokeWidth, strokeWidth), color: strokeColor, blurRadius: shadowBR), ]; return Positioned( right: isForward ? finalOffset : null,