forked from baron/baron-sso
접속이력 토글/스위치 조정
This commit is contained in:
@@ -1622,18 +1622,24 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
Text(
|
||||
tr('ui.userfront.audit.filter.toggle_label'),
|
||||
style: const TextStyle(
|
||||
fontSize: 13,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: _ink,
|
||||
),
|
||||
),
|
||||
Switch(
|
||||
value: _showActiveSessionsOnly,
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
_showActiveSessionsOnly = value;
|
||||
});
|
||||
},
|
||||
const SizedBox(width: 2),
|
||||
Transform.scale(
|
||||
scale: 0.84,
|
||||
alignment: Alignment.centerRight,
|
||||
child: Switch(
|
||||
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||
value: _showActiveSessionsOnly,
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
_showActiveSessionsOnly = value;
|
||||
});
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user