Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Fix UI glitch when user becomes authorized
Browse files Browse the repository at this point in the history
Adapter start/stop listening is now only called after read access has been granted to avoid list refresh
  • Loading branch information
SimonMarquis committed Apr 30, 2018
1 parent 25b1564 commit 3f9d0d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apply plugin: 'kotlin-kapt'

def versionMajor = 1
def versionMinor = 0
def versionPatch = 0
def versionPatch = 1
def versionBuild = 0

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ class ApplicationsActivity : AppCompatActivity() {
startListening()
}
}

})
}

Expand All @@ -236,7 +235,6 @@ class ApplicationsActivity : AppCompatActivity() {

private fun registerListeners() {
applicationAdapter?.registerAdapterDataObserver(dataObserver)
applicationAdapter?.startListening()
PackageIntentFilter.register(this, packageIntentFilterReceiver)
}

Expand Down

0 comments on commit 3f9d0d2

Please sign in to comment.