Skip to content

Commit

Permalink
feat(account): update CreateSessionFragment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Jan 31, 2024
1 parent 85f6a7b commit 13db3c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
Plan plan = Plan.Companion.getPlanByProductName(Objects.requireNonNull(error.getData()).getCurrentPlan());
boolean deviceManagement = Objects.requireNonNull(error.getData()).getDeviceManagement();
boolean isAccountNewStyle = Objects.requireNonNull(error.getData()).getPaymentMethod().equals("prepaid");
boolean isAccountNewStyle = error.isAccountNewStyle();

// Device Management enabled, Pro plan
if (deviceManagement && plan.equals(Plan.PRO) && isAccountNewStyle) {
Expand Down

0 comments on commit 13db3c1

Please sign in to comment.