mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #221] [MERGED] Create app.toml with default values if it doesn't exist #671
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#671
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/221
Author: @cobbinma
Created: 7/17/2023
Status: ✅ Merged
Merged: 7/18/2023
Merged by: @aome510
Base:
master← Head:feat/182-create-default-app.toml📝 Commits (6)
b2c493ffeat: 182 create default app.tomlaa9e0e4refactor: 182 other theme constructorsda64239docs: 182 update readme with new app config behaviour535ba4aUpdate spotify_player/src/state/mod.rs691da97refactor: 182 revert config import change from self2e592f1refactor: 182 return bool and update comment📊 Changes
6 files changed (+71 additions, -53 deletions)
View changed files
📝
README.md(+2 -0)📝
spotify_player/src/config/keymap.rs(+7 -1)📝
spotify_player/src/config/mod.rs(+37 -12)📝
spotify_player/src/config/theme.rs(+8 -1)📝
spotify_player/src/main.rs(+4 -9)📝
spotify_player/src/state/mod.rs(+13 -30)📄 Description
If an application configuration file is not found, one will be created with default values in the config directory.
The configs have been refactored to use
newconstructors instead of default implementations.closes #182
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.