mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-13 09:14:05 +01:00
android: build warnings
This commit is contained in:
+3
-2
@@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use std::sync::Arc;
|
||||
use egui::{IconData, pos2};
|
||||
use grim::AppConfig;
|
||||
|
||||
pub fn main() {
|
||||
@@ -43,6 +41,9 @@ fn real_main() {
|
||||
let icon = image::open("img/icon.png").expect("Failed to open icon path").to_rgba8();
|
||||
let (icon_width, icon_height) = icon.dimensions();
|
||||
|
||||
use std::sync::Arc;
|
||||
use egui::{IconData, pos2};
|
||||
|
||||
let mut viewport = egui::ViewportBuilder::default()
|
||||
.with_inner_size([width, height])
|
||||
.with_icon(Arc::new(IconData {
|
||||
|
||||
Reference in New Issue
Block a user