Skip to content

Commit

Permalink
fix(about): license text hidden in the bottom of smaller screen devices
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Jan 5, 2023
1 parent db12f6c commit e158dd0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/pages/library/library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 5 additions & 3 deletions lib/pages/settings/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,11 @@ class AboutSpotube extends HookConsumerWidget {
const SizedBox(height: 20),
ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 750),
child: PlatformText.caption(
licenseText,
textAlign: TextAlign.justify,
child: SafeArea(
child: PlatformText.caption(
licenseText,
textAlign: TextAlign.justify,
),
),
),
],
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e158dd0

Please sign in to comment.