Implemented licences dialogue in the settings; fully restored highlighting event functionality

This commit is contained in:
denizk0461
2023-04-26 10:21:16 +02:00
parent ced111d93d
commit d0819553bc
10 changed files with 72 additions and 19 deletions
@@ -94,6 +94,16 @@ class SettingsFragment : AppFragment() {
))
}
// Set click listener for showing licences dialogue
binding.buttonLicences.setOnClickListener {
openBottomSheet(
TextSheet(
getString(R.string.sheet_licences_header),
getString(R.string.sheet_licences_content),
)
)
}
// Set click listener for the app version button
binding.buttonAppVersion.setOnClickListener {
when (appVersionClick) {