Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti authored Nov 6, 2024
1 parent d1db5b3 commit dcb5896
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ class SessionManager(
init {
KeyStoreManager.initializePreferences(context.applicationContext)
initiateKeyStoreManager()
if (sessionId != null) {
if (sessionId.isNotEmpty()) {
this.sessionId = sessionId
}
if (sessionId != null && sessionId.isNotEmpty()) {
this.sessionId = sessionId
}
this.sessionTime = sessionTime
this.allowedOrigin = allowedOrigin
Expand Down

0 comments on commit dcb5896

Please sign in to comment.