SongData修正物件問題
This commit is contained in:
parent
8d030baf9f
commit
b263798557
@ -21,8 +21,11 @@ namespace DBObj
|
|||||||
{
|
{
|
||||||
basic=new(songNumber,song,songSimplified,filename,humanVoice);
|
basic=new(songNumber,song,songSimplified,filename,humanVoice);
|
||||||
A= new Artist(artistA, artistASimplified);
|
A= new Artist(artistA, artistASimplified);
|
||||||
if(artistB!=null){
|
if(!artistB.Equals("")){
|
||||||
B = new Artist(artistB, artistBSimplified);
|
B = new Artist(artistB, artistBSimplified);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
B = null;
|
||||||
}
|
}
|
||||||
isPublicSong = false;
|
isPublicSong = false;
|
||||||
}
|
}
|
||||||
|
1
Room.cs
1
Room.cs
@ -40,6 +40,7 @@ namespace DualScreenDemo
|
|||||||
if (db.open(query, parameters) && db.found())
|
if (db.open(query, parameters) && db.found())
|
||||||
{
|
{
|
||||||
State = db.Field<string>("status");
|
State = db.Field<string>("status");
|
||||||
|
if (State.Equals("maintai")) { State = "active"; }
|
||||||
return State;
|
return State;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user