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