|
@@ -70,7 +70,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|
child: Row(
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
children: [
|
|
- Text("Two-factor"),
|
|
|
|
|
|
+ Text("Two-factor", style: Theme.of(context).textTheme.subtitle1,),
|
|
FutureBuilder(
|
|
FutureBuilder(
|
|
future: UserService.instance.fetchTwoFactorStatus(),
|
|
future: UserService.instance.fetchTwoFactorStatus(),
|
|
builder: (_, snapshot) {
|
|
builder: (_, snapshot) {
|
|
@@ -117,7 +117,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|
child: Row(
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
children: [
|
|
- Text("Lockscreen"),
|
|
|
|
|
|
+ Text("Lockscreen", style: Theme.of(context).textTheme.subtitle1,),
|
|
Switch.adaptive(
|
|
Switch.adaptive(
|
|
value: _config.shouldShowLockScreen(),
|
|
value: _config.shouldShowLockScreen(),
|
|
onChanged: (value) async {
|
|
onChanged: (value) async {
|
|
@@ -147,7 +147,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|
child: Row(
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
children: [
|
|
- Text("Hide from recents"),
|
|
|
|
|
|
+ Text("Hide from recents", style: Theme.of(context).textTheme.subtitle1),
|
|
Switch.adaptive(
|
|
Switch.adaptive(
|
|
value: _config.shouldHideFromRecents(),
|
|
value: _config.shouldHideFromRecents(),
|
|
onChanged: (value) async {
|
|
onChanged: (value) async {
|