Warn unknown devices: treat MXDeviceUnknown as MXDeviceUnverified

This commit is contained in:
manuroe
2017-02-14 11:30:49 +01:00
parent fa0c374e66
commit cb8a1a8d39
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
/*
Copyright 2016 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -49,6 +50,7 @@
switch (deviceInfo.verified)
{
case MXDeviceUnknown:
case MXDeviceUnverified:
{
self.deviceStatus.image = [UIImage imageNamed:@"e2e_warning"];