temp removed icon color tab

This commit is contained in:
Kima 2023-10-15 16:35:50 +02:00
parent 501d83c229
commit 21a5771211

View File

@ -109,7 +109,7 @@ class _PremiumCustomAccentColorSettingState
@override @override
void initState() { void initState() {
super.initState(); super.initState();
_colorsTabController = TabController(length: 6, vsync: this); _colorsTabController = TabController(length: 5, vsync: this);
_testTabController = TabController(length: 4, vsync: this); _testTabController = TabController(length: 4, vsync: this);
settings = Provider.of<SettingsProvider>(context, listen: false); settings = Provider.of<SettingsProvider>(context, listen: false);
shareProvider = Provider.of<ShareProvider>(context, listen: false); shareProvider = Provider.of<ShareProvider>(context, listen: false);
@ -712,13 +712,13 @@ class _PremiumCustomAccentColorSettingState
tab: Tab( tab: Tab(
text: "colorpicker_accent" text: "colorpicker_accent"
.i18n)), .i18n)),
ColorTab( // ColorTab(
unlocked: hasAccess, // unlocked: hasAccess,
color: settings.customIconColor ?? // color: settings.customIconColor ??
unknownColor, // unknownColor,
tab: Tab( // tab: Tab(
text: // text:
"colorpicker_icon".i18n)), // "colorpicker_icon".i18n)),
], ],
onTap: (index) { onTap: (index) {
if (!hasAccess) { if (!hasAccess) {