mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-19 04:16:27 -04:00
conflits
This commit is contained in:
parent
2208578c4a
commit
364f9314f2
@ -98,6 +98,7 @@ class WifiDirectManager @Inject constructor(
|
|||||||
// Whether the device is the file sender or not
|
// Whether the device is the file sender or not
|
||||||
var isFileSender = false
|
var isFileSender = false
|
||||||
private set
|
private set
|
||||||
|
|
||||||
private var hasSenderStartedConnection = false
|
private var hasSenderStartedConnection = false
|
||||||
|
|
||||||
/* Initialisations for using the WiFi P2P API */
|
/* Initialisations for using the WiFi P2P API */
|
||||||
|
@ -98,9 +98,9 @@ class ZimManageActivity : BaseActivity() {
|
|||||||
private fun setUpToolbar() {
|
private fun setUpToolbar() {
|
||||||
val toolbar = findViewById<Toolbar>(R.id.toolbar)
|
val toolbar = findViewById<Toolbar>(R.id.toolbar)
|
||||||
setSupportActionBar(toolbar)
|
setSupportActionBar(toolbar)
|
||||||
supportActionBar!!.setHomeButtonEnabled(true)
|
supportActionBar?.setHomeButtonEnabled(true)
|
||||||
supportActionBar!!.setDisplayHomeAsUpEnabled(true)
|
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||||
supportActionBar!!.setTitle(R.string.library)
|
supportActionBar?.setTitle(R.string.library)
|
||||||
toolbar.setNavigationOnClickListener { onBackPressed() }
|
toolbar.setNavigationOnClickListener { onBackPressed() }
|
||||||
toolbar.setOnClickListener {
|
toolbar.setOnClickListener {
|
||||||
if (manageViewPager.currentItem == 1)
|
if (manageViewPager.currentItem == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user