version upgrade

This commit is contained in:
Tsanie Lily 2020-05-18 14:10:09 +08:00
parent 3f884e9b12
commit 1589d6b089
6 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.516" package="org.tsanie.pixiview" android:versionCode="6">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.518" package="org.tsanie.pixiview" android:versionCode="7">
<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="28" />
<application android:label="Pixiview" android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

View File

@ -29,8 +29,8 @@
<string>com.apple.share-services</string>
</dict>
<key>CFBundleShortVersionString</key>
<string>1.0.516</string>
<string>1.0.518</string>
<key>CFBundleVersion</key>
<string>6</string>
<string>7</string>
</dict>
</plist>

View File

@ -79,8 +79,8 @@
</dict>
</array>
<key>CFBundleShortVersionString</key>
<string>1.0.516</string>
<string>1.0.518</string>
<key>CFBundleVersion</key>
<string>6</string>
<string>7</string>
</dict>
</plist>

View File

@ -30,8 +30,8 @@
Text="{Binding UserProfileName}" TextColor="{DynamicResource TextColor}"/>
<Label Grid.Row="2" VerticalOptions="Center" FontSize="Small"
Text="{Binding UserProfileId}" TextColor="{DynamicResource SubTextColor}"/>
<ActivityIndicator Grid.RowSpan="3" BackgroundColor="#50000000" Color="White"
Margin="0, 20, 20, 0"
<ActivityIndicator Grid.RowSpan="3" Margin="0, 20, 20, 0"
Color="{DynamicResource TextColor}"
IsVisible="{Binding IsLoading}" IsRunning="{Binding IsLoading}"/>
</Grid>
</DataTemplate>

View File

@ -148,7 +148,7 @@ namespace Pixiview
}
name = global.userData.name;
userId = global.userData.pixivId;
img = global.userData.profileImg;
img = global.userData.profileImgBig;
Preferences.Set(Configs.ProfileNameKey, name);
Preferences.Set(Configs.ProfileIdKey, userId);
Preferences.Set(Configs.ProfileImageKey, img);

View File

@ -132,6 +132,8 @@ namespace Pixiview
{
session = session.Substring(0, index);
Configs.SetUserId(session, true);
App.DebugPrint($"cookie changed, user id: {session}");
}
}
}