opt.
This commit is contained in:
@@ -99,7 +99,6 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
padding: EdgeInsets.only(
|
||||
left: 13,
|
||||
right: 13,
|
||||
top: 13,
|
||||
bottom: _media.padding.bottom + 77,
|
||||
),
|
||||
itemCount: buildFuncs ? _cardsOrder.length + 1 : _cardsOrder.length,
|
||||
|
||||
@@ -16,7 +16,7 @@ import '../../../data/res/ui.dart';
|
||||
import '../../../data/store/private_key.dart';
|
||||
import '../../../locator.dart';
|
||||
import '../../widget/custom_appbar.dart';
|
||||
import '../../widget/tag/editor.dart';
|
||||
import '../../widget/tag/btn.dart';
|
||||
import '../private_key/edit.dart';
|
||||
|
||||
class ServerEditPage extends StatefulWidget {
|
||||
|
||||
@@ -127,7 +127,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
Widget _buildBodySmall({
|
||||
required ServerProvider provider,
|
||||
required List<String> filtered,
|
||||
EdgeInsets? padding = const EdgeInsets.fromLTRB(7, 10, 7, 7),
|
||||
EdgeInsets? padding = const EdgeInsets.fromLTRB(7, 0, 7, 7),
|
||||
bool buildTags = true,
|
||||
}) {
|
||||
final count = buildTags ? filtered.length + 2 : filtered.length + 1;
|
||||
@@ -164,7 +164,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
child: _buildBodySmall(
|
||||
provider: pro,
|
||||
filtered: left,
|
||||
padding: const EdgeInsets.fromLTRB(7, 10, 0, 7),
|
||||
padding: const EdgeInsets.fromLTRB(7, 0, 0, 7),
|
||||
buildTags: false,
|
||||
),
|
||||
),
|
||||
@@ -172,7 +172,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
child: _buildBodySmall(
|
||||
provider: pro,
|
||||
filtered: right,
|
||||
padding: const EdgeInsets.fromLTRB(0, 10, 7, 7),
|
||||
padding: const EdgeInsets.fromLTRB(0, 0, 7, 7),
|
||||
buildTags: false,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -10,7 +10,7 @@ import '../../../data/provider/snippet.dart';
|
||||
import '../../../data/res/ui.dart';
|
||||
import '../../../locator.dart';
|
||||
import '../../widget/custom_appbar.dart';
|
||||
import '../../widget/tag/editor.dart';
|
||||
import '../../widget/tag/btn.dart';
|
||||
|
||||
class SnippetEditPage extends StatefulWidget {
|
||||
const SnippetEditPage({Key? key, this.snippet}) : super(key: key);
|
||||
|
||||
Reference in New Issue
Block a user