Skip to content

Commit

Permalink
Added open action
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed May 27, 2019
1 parent a1a477c commit 6203dda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/fr/rhaz/ipfs/sweet/DaemonService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import java.io.InterruptedIOException
import java.lang.Runtime.getRuntime
import androidx.core.content.ContextCompat.getSystemService



class DaemonService : Service() {

override fun onBind(intent: Intent) = null
Expand Down Expand Up @@ -134,6 +132,7 @@ class DaemonService : Service() {

val open = pendingActivity<WebActivity>()
setContentIntent(open)
addAction(R.drawable.ic_cloud, "Open", open)

if(daemon == null){
setContentText("IPFS is not running")
Expand Down

0 comments on commit 6203dda

Please sign in to comment.