show admin
This commit is contained in:
parent
1abd80e9ba
commit
e8b0d87b2e
3 changed files with 87 additions and 97 deletions
Binary file not shown.
|
|
@ -46,7 +46,6 @@ class SettingsPage extends StatelessWidget {
|
|||
Expanded(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.0.w),
|
||||
child: Expanded(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
|
|
@ -93,7 +92,7 @@ class SettingsPage extends StatelessWidget {
|
|||
setOnTap: (v) => !(v ?? false),
|
||||
),
|
||||
Divider(
|
||||
height: 5,
|
||||
height: 1,
|
||||
color: borderGray.withOpacity(0.2),
|
||||
),
|
||||
SimpleTile.text(
|
||||
|
|
@ -126,17 +125,11 @@ class SettingsPage extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Column(
|
||||
children: [
|
||||
Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
SizedBox(
|
||||
height: 32.0.h,
|
||||
),
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 10.0.w),
|
||||
padding:
|
||||
EdgeInsets.only(left: 10.0.w, right: 10.w, top: 32.h),
|
||||
child: LinkButton(
|
||||
'Политика конфиденциальности',
|
||||
() {
|
||||
|
|
@ -147,8 +140,6 @@ class SettingsPage extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
const BigBackButton(),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class UserStatistics extends StatelessWidget {
|
|||
final lastDigit = learnedWordsLength % 10;
|
||||
final String? totalWordsText;
|
||||
if (learnedWordsLength == 0) {
|
||||
totalWordsText = null;
|
||||
totalWordsText = 'Словарик';
|
||||
} else if (lastDigit == 0 || lastDigit >= 5) {
|
||||
totalWordsText = 'Ты уже знаешь $learnedWordsLength слов!';
|
||||
} else if (lastDigit == 1) {
|
||||
|
|
@ -37,10 +37,9 @@ class UserStatistics extends StatelessWidget {
|
|||
return Column(
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8.0),
|
||||
padding: EdgeInsets.only(bottom: 8.0.h, top: 8.0.h),
|
||||
child: Row(
|
||||
children: [
|
||||
if (totalWordsText != null)
|
||||
Text(
|
||||
totalWordsText,
|
||||
style: TextStyle(
|
||||
|
|
|
|||
Loading…
Reference in a new issue