Merge pull request #700 from cypherstack/ui-fixes

remove expanded
This commit is contained in:
julian-CStack 2023-11-02 10:09:12 -06:00 committed by GitHub
commit e55bcab876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,6 @@ class _TorSettingsState extends ConsumerState<TorSettings> {
), ),
Padding( Padding(
padding: const EdgeInsets.all(10.0), padding: const EdgeInsets.all(10.0),
child: Expanded(
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
@ -293,8 +292,8 @@ class _TorSettingsState extends ConsumerState<TorSettings> {
children: [ children: [
Text( Text(
"Tor killswitch", "Tor killswitch",
style: STextStyles.desktopTextExtraExtraSmall( style:
context) STextStyles.desktopTextExtraExtraSmall(context)
.copyWith( .copyWith(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
@ -359,8 +358,7 @@ class _TorSettingsState extends ConsumerState<TorSettings> {
context) context)
.copyWith( .copyWith(
color: Theme.of(context) color: Theme.of(context)
.extension< .extension<StackColors>()!
StackColors>()!
.textDark3, .textDark3,
), ),
), ),
@ -397,7 +395,6 @@ class _TorSettingsState extends ConsumerState<TorSettings> {
], ],
), ),
), ),
),
], ],
), ),
), ),