This else branch is not needed anymore

This commit is contained in:
ligi 2017-09-06 16:34:28 +02:00
parent 4a6db0f8b3
commit 55b8124853
No known key found for this signature in database
GPG key ID: 8E81894010ABF23D

View file

@ -17,7 +17,6 @@ import android.support.v7.app.AlertDialog
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
import android.view.View import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE import android.view.View.VISIBLE
import kotlinx.android.synthetic.main.pass_list.* import kotlinx.android.synthetic.main.pass_list.*
import org.greenrobot.eventbus.Subscribe import org.greenrobot.eventbus.Subscribe
@ -207,8 +206,6 @@ class PassListActivity : PassAndroidActivity() {
onAddOpenFileClick() onAddOpenFileClick()
} }
fab_action_open_file.visibility = VISIBLE fab_action_open_file.visibility = VISIBLE
} else {
fab_action_open_file.visibility = GONE
} }
} }