Skip to content

Commit 199e545

Browse files
committed
Refactor navigation, Bluetooth transfer, and Realm queries
Major update: - Refactored artist/album/song navigation with improved transitions and dynamic chips; switched to SupportFragmentManager. - Added device-to-device Bluetooth transfer UI and logic, with updated permissions and improved pairing. - Replaced all Realm .ToList() with .AsEnumerable() for LINQ compliance and cross-platform stability. - Enhanced RecyclerView adapters for real-time updates and playback state awareness. - Updated backup/restore to use app state and song IDs. - Improved error handling, dependency injection, and UI responsiveness. - Bumped app version to 1.7.2.
1 parent 57bcf9c commit 199e545

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1298
-735
lines changed

Dimmer/Dimmer.Droid/DimmerAudio/AudioService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ public Task InitializeAsync(SongModelView songModel, double pos)
9898
{
9999
_currentSongModel = songModel;
100100
// Tell the native service to prepare the track.
101+
var finalSongTitle = songModel.IsFavorite ? "❤️ " + songModel.Title : songModel.Title;
101102
var finalArtName = songModel.HasSyncedLyrics ? "🎙️ " + songModel.OtherArtistsName : songModel.OtherArtistsName;
102103
long positionMs = (long)(pos * 1000.0);
103-
Service?.Prepare(songModel.FilePath, songModel.Title, finalArtName, songModel.AlbumName, songModel,startPositionMs: positionMs);
104+
Service?.Prepare(songModel.FilePath, finalSongTitle, finalArtName, songModel.AlbumName, songModel,startPositionMs: positionMs);
104105

105106
return Task.CompletedTask;
106107
}

0 commit comments

Comments
 (0)