From 77c95a9525897f306501382ccbac03533817710c Mon Sep 17 00:00:00 2001 From: Mario Steele Date: Mon, 21 Jul 2025 17:08:58 -0500 Subject: [PATCH] Update Subscription Added Update() Method to model. --- FreeTubeSync/Model/Subscription.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FreeTubeSync/Model/Subscription.cs b/FreeTubeSync/Model/Subscription.cs index 6f026b6..7f330c9 100644 --- a/FreeTubeSync/Model/Subscription.cs +++ b/FreeTubeSync/Model/Subscription.cs @@ -10,4 +10,10 @@ public class Subscription public required string id { get; set; } public required string name { get; set; } public string? thumbnail { get; set; } + + public void Update(Subscription other) + { + name = other.name; + thumbnail = other.thumbnail; + } } \ No newline at end of file