1.1.0
This commit is contained in:
parent
1ed56ce8f1
commit
701e6a46df
@ -63,19 +63,6 @@ class EntityIcon extends StatelessWidget {
|
||||
},
|
||||
),
|
||||
);
|
||||
/*iconWidget = Container(
|
||||
height: size+12,
|
||||
width: size+12,
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
image: DecorationImage(
|
||||
fit:BoxFit.cover,
|
||||
image: CachedNetworkImageProvider(
|
||||
"${entityWrapper.entityPicture}",
|
||||
),
|
||||
)
|
||||
),
|
||||
);*/
|
||||
isPicture = true;
|
||||
} else {
|
||||
iconWidget = _buildIcon(entityWrapper, iconColor);
|
||||
|
@ -163,7 +163,7 @@ const String appName = 'HA Client';
|
||||
const appVersionNumber = '1.1.0';
|
||||
final String appVersionAdd = secrets['version_type'] ?? '';
|
||||
final String appVersion = '$appVersionNumber${appVersionAdd.isNotEmpty ? '-' : ''}$appVersionAdd';
|
||||
const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.0.1.md';
|
||||
const whatsNewUrl = 'http://ha-client.app/service/whats_new_1.1.0.md';
|
||||
|
||||
Future<void> _reportError(dynamic error, dynamic stackTrace) async {
|
||||
// Print the exception to the console.
|
||||
|
@ -26,7 +26,7 @@ class StartupUserMessagesManager {
|
||||
_needToshowDonateMessage = false;
|
||||
} else {
|
||||
bool wasShown = prefs.getBool(_donateMsgShownKey) ?? false;
|
||||
_needToshowDonateMessage = (DateTime.now().millisecondsSinceEpoch - tInt >= 1209600000) && !wasShown; //14 days
|
||||
_needToshowDonateMessage = (Duration(milliseconds: DateTime.now().millisecondsSinceEpoch - tInt).inDays >= 14) && !wasShown;
|
||||
}
|
||||
_whatsNewMessageShown = '${prefs.getString(_whatsNewMessageKey)}' == whatsNewUrl;
|
||||
if (!_whatsNewMessageShown) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: hass_client
|
||||
description: Home Assistant Android Client
|
||||
|
||||
version: 1.1.0+1100
|
||||
version: 1.1.0+1101
|
||||
|
||||
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user