SergioRibera / super_clipboard

Manage your clipboard history with a beautiful and simple interface
MIT License
24 stars 2 forks source link

Separate settings and clipboard data #7

Open SergioRibera opened 9 months ago

SergioRibera commented 9 months ago

Currently the clipboard data goes together with the settings and should be separated

settings.rs

pub struct AppSettings {
// ...
    // Move to other struct and save into other file
    clipboard: Vec<ClipboardItem>,
// ...
}

It's probably also good to make better code for the data saving and loading system.

This fix is probably related to this other issue