Skip to content

Commit

Permalink
Remove menu from About
Browse files Browse the repository at this point in the history
  • Loading branch information
mardous committed Sep 27, 2024
1 parent 1967ec3 commit 7fcc1b4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ package com.simplified.wsstatussaver.fragments

import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.View
import androidx.core.app.ShareCompat
import androidx.core.net.toUri
Expand Down Expand Up @@ -58,6 +60,11 @@ class AboutFragment : BaseFragment(R.layout.fragment_about), View.OnClickListene
statusesActivity.setSupportActionBar(binding.toolbar)
}

override fun onCreateMenu(menu: Menu, menuInflater: MenuInflater) {
super.onCreateMenu(menu, menuInflater)
menu.clear()
}

override fun onClick(v: View) {
when (v) {
binding.shareApp -> {
Expand Down

0 comments on commit 7fcc1b4

Please sign in to comment.