This commit is contained in:
Hemanth S 2020-09-06 04:00:50 +05:30
parent 47d533f9ed
commit e8549513bd
2 changed files with 9 additions and 4 deletions

View file

@ -1,9 +1,7 @@
package code.name.monkey.retromusic.fragments.playlists
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.*
import android.widget.Toast
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.Observer
@ -64,6 +62,13 @@ class ImportPlaylistFragment :
}
}
}
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
menu.removeItem(R.id.action_grid_size)
menu.removeItem(R.id.action_layout_type)
menu.removeItem(R.id.action_sort_order)
super.onCreateOptionsMenu(menu, inflater)
}
}
class LegacyPlaylistAdapter(

View file

@ -48,7 +48,7 @@
<fragment
android:id="@+id/action_import_playlist"
android:name="code.name.monkey.retromusic.dialogs.ImportPlaylistFragment"
android:name="code.name.monkey.retromusic.fragments.playlists.ImportPlaylistFragment"
android:label="ImportPlaylist"
tools:layout="@layout/fragment_main_activity_recycler_view" />
</navigation>