Hot fix
This commit is contained in:
parent
47d533f9ed
commit
e8549513bd
2 changed files with 9 additions and 4 deletions
|
@ -1,9 +1,7 @@
|
||||||
package code.name.monkey.retromusic.fragments.playlists
|
package code.name.monkey.retromusic.fragments.playlists
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.LayoutInflater
|
import android.view.*
|
||||||
import android.view.View
|
|
||||||
import android.view.ViewGroup
|
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import androidx.fragment.app.FragmentActivity
|
import androidx.fragment.app.FragmentActivity
|
||||||
import androidx.lifecycle.Observer
|
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(
|
class LegacyPlaylistAdapter(
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/action_import_playlist"
|
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"
|
android:label="ImportPlaylist"
|
||||||
tools:layout="@layout/fragment_main_activity_recycler_view" />
|
tools:layout="@layout/fragment_main_activity_recycler_view" />
|
||||||
</navigation>
|
</navigation>
|
Loading…
Reference in a new issue