Skip to content

Commit

Permalink
Small refactoring:->
Browse files Browse the repository at this point in the history
  • Loading branch information
Asteriskx committed Jun 3, 2018
1 parent 27f2d34 commit d48cc47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions LegatoNowPlaying/LegatoNowPlaying.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\legato.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="AlbumArtExtraction, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\AlbumArtExtraction.0.1.0\lib\net461\AlbumArtExtraction.dll</HintPath>
Expand Down
Binary file modified LegatoNowPlaying/Resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions LegatoNowPlaying/Services/Twitter/Service.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CoreTweet;
using CoreTweet;
using System;
using System.Drawing;
using System.Drawing.Imaging;
Expand Down Expand Up @@ -128,19 +128,19 @@ public class CredentialsJsonFile : JsonFile
#region Methods

/// <summary>
/// tokens.json からアカウント情報を読み込みます
/// twitter.json からアカウント情報を読み込みます
/// </summary>
public static Task<CredentialsJsonFile> LoadAsync()
{
return LoadAsync<CredentialsJsonFile>("tokens.json");
return LoadAsync<CredentialsJsonFile>("twitter.json");
}

/// <summary>
/// tokens.json を生成します
/// twitter.json を生成します
/// </summary>
public Task SaveAsync()
{
return SaveAsync("tokens.json");
return SaveAsync("twitter.json");
}

#endregion Methods
Expand Down

0 comments on commit d48cc47

Please sign in to comment.