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;
|
isPicture = true;
|
||||||
} else {
|
} else {
|
||||||
iconWidget = _buildIcon(entityWrapper, iconColor);
|
iconWidget = _buildIcon(entityWrapper, iconColor);
|
||||||
|
@ -163,7 +163,7 @@ const String appName = 'HA Client';
|
|||||||
const appVersionNumber = '1.1.0';
|
const appVersionNumber = '1.1.0';
|
||||||
final String appVersionAdd = secrets['version_type'] ?? '';
|
final String appVersionAdd = secrets['version_type'] ?? '';
|
||||||
final String appVersion = '$appVersionNumber${appVersionAdd.isNotEmpty ? '-' : ''}$appVersionAdd';
|
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 {
|
Future<void> _reportError(dynamic error, dynamic stackTrace) async {
|
||||||
// Print the exception to the console.
|
// Print the exception to the console.
|
||||||
|
@ -26,7 +26,7 @@ class StartupUserMessagesManager {
|
|||||||
_needToshowDonateMessage = false;
|
_needToshowDonateMessage = false;
|
||||||
} else {
|
} else {
|
||||||
bool wasShown = prefs.getBool(_donateMsgShownKey) ?? false;
|
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;
|
_whatsNewMessageShown = '${prefs.getString(_whatsNewMessageKey)}' == whatsNewUrl;
|
||||||
if (!_whatsNewMessageShown) {
|
if (!_whatsNewMessageShown) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: hass_client
|
name: hass_client
|
||||||
description: Home Assistant Android Client
|
description: Home Assistant Android Client
|
||||||
|
|
||||||
version: 1.1.0+1100
|
version: 1.1.0+1101
|
||||||
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user