Selaa lähdekoodia

Merge branch 'remove-share-btn-in-more'

Wayne 5 vuotta sitten
vanhempi
commit
e5a39c0d38

+ 0 - 1
reader/src/main/java/com/kdanmobile/reader/ReaderActivity.kt

@@ -376,7 +376,6 @@ abstract class ReaderActivity : AppCompatActivity() {
         toolbar_readerActivity.setOnMenuItemClickListener {
             when (it.itemId) {
                 R.id.item_reader_bookmark -> onClickBookmark()
-                R.id.item_reader_more_share -> onClickShare()
                 R.id.item_reader_more_text_reflow -> onClickTextReflow()
                 R.id.item_reader_more_file_info -> onClickFileInfo()
                 R.id.item_reader_more_print -> onClickPrint()

+ 0 - 7
reader/src/main/res/menu/reader_more.xml

@@ -7,13 +7,6 @@
         android:title="@string/reader_more_menu_bookmark"
         app:showAsAction="ifRoom"
         />
-    <item
-        android:id="@+id/item_reader_more_share"
-        android:icon="@drawable/ic_share_black_op60_24dp"
-        android:title="@string/reader_more_menu_share"
-        app:showAsAction="withText"
-        >
-    </item>
     <item
         android:id="@+id/item_reader_more_text_reflow"
         android:icon="@drawable/ic_format_align_left_black_op60_24dp"