diff --git a/refilc/android/app/build.gradle b/refilc/android/app/build.gradle
index 6380aefd..6b713014 100644
--- a/refilc/android/app/build.gradle
+++ b/refilc/android/app/build.gradle
@@ -80,7 +80,7 @@ android {
defaultConfig {
applicationId "hu.refilc.naplo"
minSdkVersion 24
- targetSdkVersion 34
+ targetSdkVersion 35
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
diff --git a/refilc/android/app/src/main/AndroidManifest.xml b/refilc/android/app/src/main/AndroidManifest.xml
index 0f7e2c9a..b2585b06 100644
--- a/refilc/android/app/src/main/AndroidManifest.xml
+++ b/refilc/android/app/src/main/AndroidManifest.xml
@@ -93,8 +93,6 @@
-
-
diff --git a/refilc_mobile_ui/lib/screens/settings/submenu/personalize_screen.dart b/refilc_mobile_ui/lib/screens/settings/submenu/personalize_screen.dart
index 3367fa9a..0f50108b 100644
--- a/refilc_mobile_ui/lib/screens/settings/submenu/personalize_screen.dart
+++ b/refilc_mobile_ui/lib/screens/settings/submenu/personalize_screen.dart
@@ -19,7 +19,6 @@ import 'package:refilc_mobile_ui/common/splitted_panel/splitted_panel.dart';
import 'package:refilc_mobile_ui/common/widgets/custom_segmented_control.dart';
import 'package:refilc_mobile_ui/screens/settings/settings_helper.dart';
import 'package:refilc_mobile_ui/screens/settings/submenu/edit_subject.dart';
-import 'package:refilc_mobile_ui/screens/settings/submenu/paint_list.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
@@ -418,12 +417,6 @@ class PersonalizeSettingsScreenState extends State
bottom: Radius.circular(4.0),
),
),
- const MenuPaintList(
- borderRadius: BorderRadius.vertical(
- top: Radius.circular(4.0),
- bottom: Radius.circular(12.0),
- ),
- ),
],
),
// shadow toggle
diff --git a/refilc_mobile_ui/lib/screens/settings/theme_screen.dart b/refilc_mobile_ui/lib/screens/settings/theme_screen.dart
index c4df3913..e4f459cd 100644
--- a/refilc_mobile_ui/lib/screens/settings/theme_screen.dart
+++ b/refilc_mobile_ui/lib/screens/settings/theme_screen.dart
@@ -35,16 +35,13 @@ import 'package:refilc_mobile_ui/common/widgets/grade/new_grades.dart';
import 'package:refilc_mobile_ui/common/widgets/homework/homework_tile.dart';
// import 'package:refilc_plus/models/premium_scopes.dart';
// import 'package:refilc_plus/providers/plus_provider.dart';
-import 'package:refilc_kreta_api/providers/share_provider.dart';
import 'package:refilc/ui/flutter_colorpicker/colorpicker.dart';
// import 'package:refilc_plus/ui/mobile/plus/upsell.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:provider/provider.dart';
-import 'package:refilc_mobile_ui/screens/settings/submenu/share_theme_popup.dart';
import 'theme_screen.i18n.dart';
-import 'package:share_plus/share_plus.dart';
class PremiumCustomAccentColorSetting extends StatefulWidget {
const PremiumCustomAccentColorSetting({super.key});
@@ -70,7 +67,6 @@ class _PremiumCustomAccentColorSettingState
extends State
with TickerProviderStateMixin {
late final SettingsProvider settings;
- late final ShareProvider shareProvider;
bool colorSelection = false;
bool customColorMenu = false;
CustomColorMode colorMode = CustomColorMode.theme;
@@ -135,7 +131,6 @@ class _PremiumCustomAccentColorSettingState
_colorsTabController = TabController(length: 4, vsync: this);
_testTabController = TabController(length: 4, vsync: this);
settings = Provider.of(context, listen: false);
- shareProvider = Provider.of(context, listen: false);
_openAnimController = AnimationController(
vsync: this, duration: const Duration(milliseconds: 750));
@@ -310,72 +305,6 @@ class _PremiumCustomAccentColorSettingState
appBar: AppBar(
surfaceTintColor: Theme.of(context).scaffoldBackgroundColor,
leading: BackButton(color: AppColors.of(context).text),
- actions: [
- Padding(
- padding: const EdgeInsets.only(right: 10.0),
- child: IconButton(
- focusColor: Colors.transparent,
- highlightColor: Colors.transparent,
- splashColor: Colors.transparent,
- onPressed: () async {
- // ScaffoldMessenger.of(context).showSnackBar(
- // const SnackBar(
- // duration: Duration(milliseconds: 1000),
- // content: Text(
- // "Hamarosan...",
- // ),
- // ),
- // );
- // showDialog(
- // context: context,
- // builder: (context) => WillPopScope(
- // onWillPop: () async => false,
- // child: AlertDialog(
- // shape: RoundedRectangleBorder(
- // borderRadius: BorderRadius.circular(12.0)),
- // title: Text("attention".i18n),
- // content: Text("share_disclaimer".i18n),
- // actions: [
- // ActionButton(
- // label: "understand".i18n,
- // onTap: () async {
- // Navigator.of(context).pop();
-
- // SharedGradeColors gradeColors =
- // await shareProvider
- // .shareCurrentGradeColors(context);
- // SharedTheme theme =
- // await shareProvider.shareCurrentTheme(
- // context,
- // gradeColors: gradeColors,
- // );
-
- // Share.share(
- // theme.id,
- // subject: 'share_subj_theme'.i18n,
- // );
- // },
- // ),
- // ],
- // ),
- // ),
- // );
- if (settings.currentThemeId != '') {
- Share.share(
- settings.currentThemeId,
- subject: 'share_subj_theme'.i18n,
- );
- } else {
- ShareThemeDialog.show(context);
- }
- },
- icon: const Icon(
- FeatherIcons.share2,
- size: 22.0,
- ),
- ),
- ),
- ],
title: Text(
"theme_prev".i18n,
style: TextStyle(color: AppColors.of(context).text),