Repository navigation
Custom floating button and title icons; show only the app's SharedPreferences - #23
Merged
Merged
Conversation
…ferences - DeckTrigger.FloatingButton(icon = ImageVector) sets the floating button icon; the composable icon slot is now documented. - DeckStyle(titleIcon = ...) replaces the icon next to the drawer title, and titleIcon = null shows the title without an icon. The old constructor and copy are kept hidden for binary compatibility. - The SharedPreferences browser lists only the app's own files; files from libraries and the system (WebView, Firebase, Play services, AndroidX, DevDeck) are behind a "Show library files" switch. - Sample: custom floating button icon switch and title icon chips.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
DeckTrigger.FloatingButton(icon = Icons.Default.Build)takes anImageVector. The existing composableiconslot (for drawables) is now documented in the README.DeckStyle(titleIcon = { Icon(...) })replaces the bug icon next to the drawer title;titleIcon = nullshows the title without an icon. The default is unchanged.Compatibility
DeckStyle's old constructor andcopyare kept as hidden overloads, so apps compiled against 1.1.0 still link. A 1.1.0-compiledcopycall that relies on default arguments needs a recompile (no source change).Checks
ktlintCheck lintDebug lintRelease assembleRelease testDebugUnitTest apiCheck :sample:assembleQapass locally.LibraryPreferencesTestcovers app vs. library file names.null, and onlyuser_sessionlisted until Show library files is on.🤖 Generated with Claude Code