mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 01:09:10 +01:00
Hide button on edge flavor
This commit is contained in:
parent
d6eab932a7
commit
411b79ed9e
@ -151,8 +151,12 @@ class MainActivity : AppCompatActivity() {
|
||||
Snackbar.make(this@MainActivity.findViewById(android.R.id.content), getString(R.string.logs_not_found), Snackbar.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
binding.checkUpdatesIcon.setOnClickListener {
|
||||
AppUpdater.checkForUpdates(context)
|
||||
if (BuildConfig.FLAVOR.equals("edge")) {
|
||||
binding.checkUpdatesIcon.visibility = View.GONE
|
||||
} else {
|
||||
binding.checkUpdatesIcon.setOnClickListener {
|
||||
AppUpdater.checkForUpdates(context)
|
||||
}
|
||||
}
|
||||
binding.settingsIcon.setOnClickListener { settingsCallback.launch(Intent(context, SettingsActivity::class.java)) }
|
||||
binding.refreshIcon.setOnClickListener { loadRoms(false) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user