music: fix bad shim import

This commit is contained in:
Alexander Capehart 2025-01-22 09:42:39 -07:00
parent 8339920ce1
commit 3ff662ac27
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 2 additions and 25 deletions

View file

@ -25,8 +25,8 @@ import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
import org.oxycblt.musikr.cache.DatabaseSongCache
import org.oxycblt.musikr.cache.SongCache
import org.oxycblt.musikr.cache.db.DBSongCache
import org.oxycblt.musikr.playlist.db.StoredPlaylists
@Module
@ -34,7 +34,7 @@ import org.oxycblt.musikr.playlist.db.StoredPlaylists
class MusikrShimModule {
@Singleton
@Provides
fun songCache(@ApplicationContext context: Context): SongCache = DatabaseSongCache.from(context)
fun songCache(@ApplicationContext context: Context): SongCache = DBSongCache.from(context)
@Singleton
@Provides

View file

@ -1,23 +0,0 @@
/*
* Copyright (c) 2025 Auxio Project
* Vertex.kt is part of Auxio.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package org.oxycblt.musikr.graph
internal interface Vertex {
val tag: Any?
}