SergioRibera / super_clipboard

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

Separate settings and clipboard data #7

Open SergioRibera opened 1 year ago

SergioRibera commented 1 year 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