Skip to content

Commit

Permalink
bug-fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
AthulNoobie committed Oct 31, 2024
1 parent 00a0837 commit aa89674
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 357 deletions.
4 changes: 3 additions & 1 deletion lib/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ class _AppbarState extends State<Appbar> {
iconSize: 12,
iconEnabledColor: Colors.white,
style: const TextStyle(
color: Colors.white, fontSize: 12.75),
color: Colors.white,
fontSize: 12.75,
),
items: const [
DropdownMenuItem(child: Text("English"))
],
Expand Down
7 changes: 3 additions & 4 deletions lib/desktop_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class _AppBodyState extends State<AppBody> {
Container(
color: Colors.white,
width: screenWidth,
child: screenWidth > 1075
child: screenWidth > 1155
? Row(
mainAxisSize: MainAxisSize.max,
children: [
Expand Down Expand Up @@ -241,7 +241,7 @@ class _AppBodyState extends State<AppBody> {
],
),
sideBarStat
? Row(
? Wrap(
children: [
styledTButton(
"Home",
Expand Down Expand Up @@ -769,14 +769,13 @@ class _AppBodyState extends State<AppBody> {
child: Row(
children: [
SizedBox(
width: 220,
width: screenWidth * 0.2,
height: 80,
child: Image.asset("assets/images/logo_tr.png"),
),
const Expanded(child: SizedBox()),
SizedBox(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
iconBtns(
FontAwesomeIcons.facebook,
Expand Down
5 changes: 2 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ class _BaseState extends State<Base> {
colorFilter: mat,
child: Scaffold(
appBar: PreferredSize(
preferredSize: Size.fromHeight(screenWidth > 850
? screenHeight * 0.055
: screenHeight * 0.15),
preferredSize: Size.fromHeight(
screenWidth > 850 ? 53 : screenHeight * 0.15),
child: Appbar(filter: updateColorFilter)),
body: screenWidth > 850 ? const AppBody() : const MobileBody()),
));
Expand Down
Loading

0 comments on commit aa89674

Please sign in to comment.