Skip to content

Commit

Permalink
Show pro banner if user is not pro.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Jun 18, 2024
1 parent dcf3403 commit e3e4825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internalsdk/session_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ func signOut(session SessionModel) error {
log.Debugf("Sign out request %+v", signoutData)

loggedOut, logoutErr := session.authClient.SignOut(context.Background(), signoutData)
if err != nil {
if logoutErr != nil {
return log.Errorf("Error while signing out %v", logoutErr)
}

Expand Down
2 changes: 1 addition & 1 deletion lib/vpn/vpn_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class VPNTab extends StatelessWidget {
: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
if (!proUser && !Platform.isIOS)
if (!proUser)
const ProBanner()
else
const SizedBox(height: 10),
Expand Down

0 comments on commit e3e4825

Please sign in to comment.