finally fix visual bug
This commit is contained in:
parent
99e9294ece
commit
8bec897d52
|
@ -117,7 +117,9 @@ class _FullPostViewState extends State<FullPostView> {
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
SelectableText(
|
SelectableText(
|
||||||
"${"post-found-on".i18n()} $idsChecked ${idsChecked == 1 ? "instance".i18n() : "instances".i18n()}"),
|
"${"post-found-on".i18n()} $idsChecked ${idsChecked == 1 ? "instance".i18n() : "instances".i18n()}",
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
const LinearProgressIndicator(),
|
const LinearProgressIndicator(),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -177,7 +179,7 @@ class _FullPostViewState extends State<FullPostView> {
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
maxHeight: MediaQuery.of(context).size.height,
|
maxHeight: MediaQuery.of(context).size.height * 2 / 3,
|
||||||
maxWidth: global.getConstraints(context).maxWidth),
|
maxWidth: global.getConstraints(context).maxWidth),
|
||||||
width: global.getWidth(context),
|
width: global.getWidth(context),
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
|
|
|
@ -172,6 +172,7 @@ class _ProfileViewState extends State<ProfileView> {
|
||||||
),
|
),
|
||||||
contentPadding: const EdgeInsets.all(0),
|
contentPadding: const EdgeInsets.all(0),
|
||||||
children: [
|
children: [
|
||||||
|
Column(children: [
|
||||||
loading
|
loading
|
||||||
? Column(
|
? Column(
|
||||||
children: [
|
children: [
|
||||||
|
@ -187,7 +188,8 @@ class _ProfileViewState extends State<ProfileView> {
|
||||||
child: DropdownButton(
|
child: DropdownButton(
|
||||||
isExpanded: false,
|
isExpanded: false,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
iconEnabledColor: Theme.of(context).colorScheme.onSurface,
|
iconEnabledColor:
|
||||||
|
Theme.of(context).colorScheme.onSurface,
|
||||||
value: activeIdentity,
|
value: activeIdentity,
|
||||||
items: dmenuItems,
|
items: dmenuItems,
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
|
@ -225,6 +227,7 @@ class _ProfileViewState extends State<ProfileView> {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
]),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,7 +162,7 @@ ThemeData getTheme(CustomColors colors) {
|
||||||
primaryIconTheme: const IconThemeData(size: 24),
|
primaryIconTheme: const IconThemeData(size: 24),
|
||||||
hoverColor: colors.colorScheme.background,
|
hoverColor: colors.colorScheme.background,
|
||||||
shadowColor: colors.colorScheme.surface,
|
shadowColor: colors.colorScheme.surface,
|
||||||
focusColor: colors.hintColor,
|
focusColor: colors.colorScheme.background,
|
||||||
indicatorColor: colors.hintColor,
|
indicatorColor: colors.hintColor,
|
||||||
disabledColor: colors.hintColor,
|
disabledColor: colors.hintColor,
|
||||||
unselectedWidgetColor: colors.hintColor,
|
unselectedWidgetColor: colors.hintColor,
|
||||||
|
|
Loading…
Reference in New Issue