mirror of
https://github.com/foss42/apidash.git
synced 2025-05-30 21:41:50 +08:00
fix(mobile): removed Settings headline and divider in case of mobile platform using in widget terenary operators
This commit is contained in:
@ -26,9 +26,11 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
||||
padding: kPh20t40,
|
||||
shrinkWrap: true,
|
||||
children: [
|
||||
Text("Settings",
|
||||
style: Theme.of(context).textTheme.headlineLarge),
|
||||
const Divider(),
|
||||
kIsDesktop
|
||||
? Text("Settings",
|
||||
style: Theme.of(context).textTheme.headlineLarge)
|
||||
: const SizedBox.shrink(),
|
||||
kIsDesktop ? const Divider() : const SizedBox.shrink(),
|
||||
SwitchListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
hoverColor: kColorTransparent,
|
||||
|
Reference in New Issue
Block a user