Skip to content

Commit

Permalink
chore: disable billing UI
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Jul 22, 2024
1 parent a08c0b8 commit e921e39
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class _SidebarState extends State<_Sidebar> {
const VSpace(14),

// toast
const SidebarToast(),
// const SidebarToast(),
],
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,26 +112,26 @@ class SettingsMenu extends StatelessWidget {
),
changeSelectedPage: changeSelectedPage,
),
if (FeatureFlag.planBilling.isOn &&
userProfile.authenticator ==
AuthenticatorPB.AppFlowyCloud &&
member != null &&
member!.role.isOwner) ...[
SettingsMenuElement(
page: SettingsPage.plan,
selectedPage: currentPage,
label: LocaleKeys.settings_planPage_menuLabel.tr(),
icon: const FlowySvg(FlowySvgs.settings_plan_m),
changeSelectedPage: changeSelectedPage,
),
SettingsMenuElement(
page: SettingsPage.billing,
selectedPage: currentPage,
label: LocaleKeys.settings_billingPage_menuLabel.tr(),
icon: const FlowySvg(FlowySvgs.settings_billing_m),
changeSelectedPage: changeSelectedPage,
),
],
// if (FeatureFlag.planBilling.isOn &&
// userProfile.authenticator ==
// AuthenticatorPB.AppFlowyCloud &&
// member != null &&
// member!.role.isOwner) ...[
// SettingsMenuElement(
// page: SettingsPage.plan,
// selectedPage: currentPage,
// label: LocaleKeys.settings_planPage_menuLabel.tr(),
// icon: const FlowySvg(FlowySvgs.settings_plan_m),
// changeSelectedPage: changeSelectedPage,
// ),
// SettingsMenuElement(
// page: SettingsPage.billing,
// selectedPage: currentPage,
// label: LocaleKeys.settings_billingPage_menuLabel.tr(),
// icon: const FlowySvg(FlowySvgs.settings_billing_m),
// changeSelectedPage: changeSelectedPage,
// ),
// ],
if (kDebugMode)
SettingsMenuElement(
// no need to translate this page
Expand Down

0 comments on commit e921e39

Please sign in to comment.