Skip to content

Commit 5605ce0

Browse files
andrews-mocAndrii-Horishnii-Glia
authored andcommitted
Remove duplicate Authentication creation from the example app
1 parent ef2339e commit 5605ce0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/com/glia/exampleapp/MainFragment.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,6 @@ class MainFragment : Fragment() {
515515
private fun prepareAuthentication() {
516516
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(requireContext())
517517
authentication = GliaWidgets.getAuthentication(getAuthenticationBehaviorFromPrefs(sharedPreferences, resources))
518-
authentication =
519-
GliaWidgets.getAuthentication(getAuthenticationBehaviorFromPrefs(sharedPreferences, resources))
520518
}
521519

522520
private fun authenticate(

0 commit comments

Comments
 (0)