remove unnec images
This commit is contained in:
@@ -47,10 +47,6 @@ class AppIconHelper {
|
||||
// isNewIcon: iconName != 'refilc_default' ? true : false,
|
||||
// iconName: iconName != 'refilc_default' ? iconName : '',
|
||||
// iconNames: [
|
||||
// 'refilc_default',
|
||||
// 'refilc_overcomplicated',
|
||||
// 'refilc_concept',
|
||||
// 'refilc_pride',
|
||||
// ],
|
||||
// );
|
||||
// } else {
|
||||
|
||||
@@ -171,14 +171,7 @@ class _GoalStateScreenState extends State<GoalStateScreen> {
|
||||
padding: EdgeInsets.zero,
|
||||
children: [
|
||||
Container(
|
||||
decoration: const BoxDecoration(
|
||||
// image: DecorationImage(
|
||||
// image:
|
||||
// AssetImage('assets/images/subject_covers/math_light.png'),
|
||||
// fit: BoxFit.fitWidth,
|
||||
// alignment: Alignment.topCenter,
|
||||
// ),
|
||||
),
|
||||
decoration: const BoxDecoration(),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
|
||||
@@ -58,10 +58,6 @@ class _ActivationDashboardState extends State<ActivationDashboard> {
|
||||
"assets/icons/ic_rounded.png",
|
||||
height: 64.0,
|
||||
),
|
||||
// child: SvgPicture.asset(
|
||||
// "assets/images/github.svg",
|
||||
// height: 64.0,
|
||||
// ),
|
||||
),
|
||||
const SizedBox(height: 32.0),
|
||||
const Text(
|
||||
|
||||
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:refilc_plus/models/premium_scopes.dart';
|
||||
import 'package:refilc_plus/providers/plus_provider.dart';
|
||||
import 'plus_things.i18n.dart';
|
||||
import 'package:refilc_mobile_ui/screens/settings/settings_helper.dart';
|
||||
|
||||
class PlusSettingsInline extends StatelessWidget {
|
||||
@@ -31,60 +30,7 @@ class PlusSettingsInline extends StatelessWidget {
|
||||
SettingsHelper.plusOptions(context);
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: plusTier == 'gold'
|
||||
? const AssetImage('assets/images/btn_plus_gold.png')
|
||||
: const AssetImage('assets/images/btn_plus_standard.png'),
|
||||
fit: BoxFit.fitWidth,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(
|
||||
width: 2.0,
|
||||
),
|
||||
Image.asset(
|
||||
plusTier == 'gold'
|
||||
? 'assets/images/plus_tier_ink.png'
|
||||
: 'assets/images/plus_tier_cap.png',
|
||||
width: 23.0,
|
||||
height: 23.0,
|
||||
),
|
||||
const SizedBox(
|
||||
width: 14.0,
|
||||
),
|
||||
Text(
|
||||
'reFilc+',
|
||||
style: TextStyle(
|
||||
color: plusTier == 'gold'
|
||||
? const Color(0xFF341C01)
|
||||
: const Color(0xFF150D4E),
|
||||
fontSize: 18.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
Text(
|
||||
plusTier == 'none' ? '0.99 €' : 'subscriber'.i18n,
|
||||
style: const TextStyle(
|
||||
color: Color(0xFF150D4E),
|
||||
fontSize: 15.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
child: Container(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -345,7 +345,7 @@ class PlusLockedFeaturePopup extends StatelessWidget {
|
||||
height: 38.0,
|
||||
),
|
||||
Image.asset(
|
||||
'assets/images/plus_${isGold ? 'gold' : 'standard'}.png',
|
||||
'assets/images/pixel.png',
|
||||
width: 66,
|
||||
height: 66,
|
||||
),
|
||||
@@ -452,7 +452,7 @@ class PlusLockedFeaturePopup extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage(
|
||||
'assets/images/btn_plus_${isGold ? 'gold' : 'standard'}.png'),
|
||||
'assets/images/pixel.png'),
|
||||
),
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
|
||||
@@ -75,86 +75,21 @@ class _ModifyAppIconState extends State<ModifyAppIcon> {
|
||||
Panel(
|
||||
title: Text("basic".i18n),
|
||||
child: Column(
|
||||
children: [
|
||||
AppIconItem(
|
||||
iconName: 'refilc_default',
|
||||
iconPath: 'assets/launch_icons/refilc_default.png',
|
||||
displayName: 'reFilc Default',
|
||||
description: 'Az alapértelmezett ikon.',
|
||||
selected: settings.appIcon == 'refilc_default',
|
||||
selectCallback: () async {
|
||||
await AppIconHelper.setAppIcon('refilc_default');
|
||||
settings.update(appIcon: 'refilc_default');
|
||||
},
|
||||
),
|
||||
],
|
||||
children: [],
|
||||
),
|
||||
),
|
||||
// const SizedBox(height: 16.0),
|
||||
// Panel(
|
||||
// title: Text("seasonal".i18n),
|
||||
// child: Column(
|
||||
// children: [
|
||||
// // AppIconItem(
|
||||
// // iconName: 'refilc_default',
|
||||
// // iconPath: 'assets/launch_icons/refilc_default.png',
|
||||
// // displayName: 'reFilc Default',
|
||||
// // description: 'Az alapértelmezett ikon.',
|
||||
// // selected: true,
|
||||
// // selectCallback: () {},
|
||||
// // ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
const SizedBox(height: 16.0),
|
||||
Panel(
|
||||
title: Text("special".i18n),
|
||||
child: Column(
|
||||
children: [
|
||||
AppIconItem(
|
||||
iconName: 'refilc_overcomplicated',
|
||||
iconPath:
|
||||
'assets/launch_icons/refilc_overcomplicated.png',
|
||||
displayName: 'Overcomplicated',
|
||||
// description: 'Egy túlkomplikált ikon.',
|
||||
selected: settings.appIcon == 'refilc_overcomplicated',
|
||||
selectCallback: () async {
|
||||
await AppIconHelper.setAppIcon(
|
||||
'refilc_overcomplicated');
|
||||
settings.update(appIcon: 'refilc_overcomplicated');
|
||||
},
|
||||
),
|
||||
AppIconItem(
|
||||
iconName: 'refilc_concept',
|
||||
iconPath: 'assets/launch_icons/refilc_concept.png',
|
||||
displayName: 'Modern Concept',
|
||||
// description: 'Egy modernebb, letisztultabb ikon.',
|
||||
selected: settings.appIcon == 'refilc_concept',
|
||||
selectCallback: () async {
|
||||
await AppIconHelper.setAppIcon('refilc_concept');
|
||||
settings.update(appIcon: 'refilc_concept');
|
||||
},
|
||||
),
|
||||
],
|
||||
children: [],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16.0),
|
||||
Panel(
|
||||
title: Text("other".i18n),
|
||||
child: Column(
|
||||
children: [
|
||||
AppIconItem(
|
||||
iconName: 'refilc_pride',
|
||||
iconPath: 'assets/launch_icons/refilc_pride.png',
|
||||
displayName: 'Pride',
|
||||
// description: '',
|
||||
selected: settings.appIcon == 'refilc_pride',
|
||||
selectCallback: () async {
|
||||
await AppIconHelper.setAppIcon('refilc_pride');
|
||||
settings.update(appIcon: 'refilc_pride');
|
||||
},
|
||||
),
|
||||
],
|
||||
children: [],
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -251,11 +251,6 @@ class CalendarSyncScreenState extends State<GradeExportingScreen>
|
||||
AppColors.of(context).text.withOpacity(.95),
|
||||
),
|
||||
),
|
||||
// leading: Image.asset(
|
||||
// 'assets/images/ext_logo/google.png',
|
||||
// width: 24.0,
|
||||
// height: 24.0,
|
||||
// ),
|
||||
borderRadius: const BorderRadius.vertical(
|
||||
top: Radius.circular(12),
|
||||
bottom: Radius.circular(12),
|
||||
|
||||
Reference in New Issue
Block a user