fix(about): license text hidden in the bottom of smaller screen devices

This commit is contained in:
Kingkor Roy Tirtho 2023-01-05 18:26:52 +06:00
parent db12f6c649
commit e158dd0cec
4 changed files with 8 additions and 5 deletions

View File

@ -23,7 +23,7 @@ class LibraryPage extends HookConsumerWidget {
const UserAlbums(),
][index.value];
var tabbar = PlatformTabBar(
final tabbar = PlatformTabBar(
androidIsScrollable: true,
selectedIndex: index.value,
onSelectedIndexChanged: (value) => index.value = value,

View File

@ -167,11 +167,13 @@ class AboutSpotube extends HookConsumerWidget {
const SizedBox(height: 20),
ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 750),
child: SafeArea(
child: PlatformText.caption(
licenseText,
textAlign: TextAlign.justify,
),
),
),
],
),
),

View File

@ -616,7 +616,7 @@ packages:
source: hosted
version: "1.59.0"
flutter_svg:
dependency: transitive
dependency: "direct main"
description:
name: flutter_svg
url: "https://pub.dartlang.org"

View File

@ -67,6 +67,7 @@ dependencies:
macos_ui: ^1.7.5
libadwaita: ^1.2.5
adwaita: ^0.5.2
flutter_svg: ^1.1.6
dev_dependencies:
flutter_test: